build: only build required boards in NuttX archives

this speeds up the px4 build a lot
This commit is contained in:
Andrew Tridgell 2015-06-19 17:44:18 +10:00
parent 8f95bc3b67
commit c4c97b14d3

View File

@ -149,17 +149,16 @@ px4-io: px4-io-v1 px4-io-v2
$(PX4_ROOT)/Archives/px4fmu-v1.export:
$(v) $(PX4_MAKE_ARCHIVES)
$(v) $(PX4_MAKE_ARCHIVES) BOARDS="px4fmu-v1"
$(PX4_ROOT)/Archives/px4fmu-v2.export:
$(v) $(PX4_MAKE_ARCHIVES)
$(v) $(PX4_MAKE_ARCHIVES) BOARDS="px4fmu-v2"
$(PX4_ROOT)/Archives/px4io-v1.export:
$(v) $(PX4_MAKE_ARCHIVES)
$(v) $(PX4_MAKE_ARCHIVES) BOARDS="px4io-v1"
$(PX4_ROOT)/Archives/px4io-v2.export:
$(v) $(PX4_MAKE_ARCHIVES)
$(v) $(PX4_MAKE_ARCHIVES) BOARDS="px4io-v2"
px4-archives:
$(v) $(PX4_MAKE_ARCHIVES)
$(v) $(PX4_MAKE_ARCHIVES) BOARDS="px4io-v1 px4io-v2 px4fmu-v1 px4fmu-v2"