post_build.sh 541 B

123456789101112131415
  1. #!/bin/bash
  2. #install modules to target
  3. source ${BR2_EXTERNAL_ARK_PATH}/../env.source
  4. cd ${BR2_EXTERNAL_ARK_PATH}/../output/board/arkn141s_fpga/linux
  5. make INSTALL_MOD_PATH=${TARGET_DIR} modules_install
  6. cd ${TARGET_DIR}/usr/bin
  7. rm -rf hostapd test* live555* playSIP openRTSP vobStreamer registerRTSPStream
  8. ln -s ../sbin/hostapd hostapd
  9. cd ${TARGET_DIR}/lib
  10. rm -rf debug/ libanl* libgfortran* libgomp* libnss*
  11. cd ${TARGET_DIR}/usr/lib
  12. rm -rf libnl-idiag* libnl-nf* libnl-xfrm*
  13. cd ${TARGET_DIR}/usr/share/alsa
  14. rm -rf cards/ pcm/ topology/ ucm/