aboutsummaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorDon Gagne <don@thegagnes.com>2015-04-16 12:55:20 -0700
committerLorenz Meier <lm@inf.ethz.ch>2015-04-18 11:14:12 +0200
commit9ac350a7d1c5c07a4e4ba7824744930f9110dedc (patch)
treedf4215c31718bd1794b388a3adfa7e2658c6fc43 /makefiles
parent3a70e7bf1bef904c63f3bbe0a92e7c9aeda978aa (diff)
downloadpx4-firmware-9ac350a7d1c5c07a4e4ba7824744930f9110dedc.tar.gz
px4-firmware-9ac350a7d1c5c07a4e4ba7824744930f9110dedc.tar.bz2
px4-firmware-9ac350a7d1c5c07a4e4ba7824744930f9110dedc.zip
Added ability for board specific meta data generation
Use new @board meta data attribute for board specific ifdef support
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/firmware.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefiles/firmware.mk b/makefiles/firmware.mk
index 4c10de931..af3ca249e 100644
--- a/makefiles/firmware.mk
+++ b/makefiles/firmware.mk
@@ -494,7 +494,7 @@ $(filter %.S.o,$(OBJS)): $(WORK_DIR)%.S.o: %.S $(GLOBAL_DEPS)
$(PRODUCT_BUNDLE): $(PRODUCT_BIN)
@$(ECHO) %% Generating $@
ifdef GEN_PARAM_XML
- python $(PX4_BASE)/Tools/px_process_params.py --src-path $(PX4_BASE)/src --xml
+ python $(PX4_BASE)/Tools/px_process_params.py --src-path $(PX4_BASE)/src --board CONFIG_ARCH_BOARD_$(CONFIG_BOARD) --xml
$(Q) $(MKFW) --prototype $(IMAGE_DIR)/$(BOARD).prototype \
--git_identity $(PX4_BASE) \
--parameter_xml $(PRODUCT_PARAMXML) \