mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
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:
@@ -33,8 +33,11 @@
|
||||
# Path and tool setup
|
||||
#
|
||||
|
||||
#export PX4_TARGET_OS = nuttx
|
||||
ifdef ($(PX4_TARGET_OS),nuttx)
|
||||
export PX4_TARGET_OS = nuttx
|
||||
else
|
||||
export PX4_TARGET_OS = linux
|
||||
endif
|
||||
|
||||
#
|
||||
# Some useful paths.
|
||||
|
||||
Reference in New Issue
Block a user