build 647 B

12345678910111213141516171819202122
  1. #!/usr/bin/env bash
  2. rm htc_9271.fw
  3. rm htc_7010.fw
  4. # MAKE=gmake
  5. MAKE=make
  6. echo "*** AR9271 ***"
  7. ( cd target_firmware/magpie_fw_dev/build/k2_1_0/image/k2_ram \
  8. && source builds_fusion_vista.ram \
  9. && ${MAKE} clean ; ${MAKE} && ${MAKE} build && ${MAKE} build )
  10. cp target_firmware/magpie_fw_dev/build/k2_1_0/image/k2_ram/htc_9271.fw .
  11. echo "*** AR7010 ***"
  12. ( cd target_firmware/magpie_fw_dev/build/magpie_1_1/image/magpie_ram \
  13. && source merlin_fusion.ram \
  14. && ${MAKE} clean ; ${MAKE} && ${MAKE} build && ${MAKE} build )
  15. cp target_firmware/magpie_fw_dev/build/magpie_1_1/image/magpie_ram/htc_7010.fw .
  16. echo "*** Done! ***"