Support to specify build time OS target

Now run:

make PX4_TARGET_OS=nuttx

or

make PX4_TARGET_OS=linux

To test the linux build and make sure that the required directories
exist, run:

make linuxrun

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-20 11:16:26 -07:00
parent aedf6fe628
commit cf71db74d7
3 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ testbuild:
$(Q) (cd $(PX4_BASE) && $(MAKE) distclean && $(MAKE) archives && $(MAKE) -j8)
$(Q) (zip -r Firmware.zip $(PX4_BASE)/Images)
testrun:
linuxrun:
Tools/linux_run.sh
#