mirror of https://github.com/ArduPilot/ardupilot
PX4: added ARDUPILOT_BUILD define
will be used to avoid some code in the px4io driver
This commit is contained in:
parent
93db4a4a5b
commit
28ffa4059b
|
@ -11,7 +11,7 @@ $(error ERROR: PX4_ROOT not set correctly - no nuttx directory found)
|
|||
endif
|
||||
|
||||
PX4_CONFIG_FILE=$(MK_DIR)/PX4/config_px4fmu_APM.mk
|
||||
SKETCHFLAGS=$(SKETCHLIBINCLUDES) -I$(PWD) -DCONFIG_HAL_BOARD=HAL_BOARD_PX4 -DSKETCHNAME="\\\"$(SKETCH)\\\"" -DSKETCH_MAIN=ArduPilot_main
|
||||
SKETCHFLAGS=$(SKETCHLIBINCLUDES) -I$(PWD) -DARDUPILOT_BUILD -DCONFIG_HAL_BOARD=HAL_BOARD_PX4 -DSKETCHNAME="\\\"$(SKETCH)\\\"" -DSKETCH_MAIN=ArduPilot_main
|
||||
PX4_MAKE = make -C $(BUILDROOT) -f $(PX4_ROOT)/makefiles/firmware.mk CONFIG_FILE=$(PWD)/$(PX4_CONFIG_FILE) EXTRADEFINES="$(SKETCHFLAGS) "$(EXTRAFLAGS) APM_MODULE_DIR=$(BUILDROOT) SKETCHBOOK=$(SKETCHBOOK) PX4_ROOT=$(PX4_ROOT)
|
||||
|
||||
$(BUILDROOT)/module.mk:
|
||||
|
|
Loading…
Reference in New Issue