diff options
author | Marco Bauer <marco@wtns.de> | 2015-03-06 15:32:30 +0100 |
---|---|---|
committer | Marco Bauer <marco@wtns.de> | 2015-03-06 15:32:30 +0100 |
commit | 4a977af8708e3f59b38793dfe501b75842efa08d (patch) | |
tree | 3788fec32ba7757f61cb8b659f97b5df480caaaa /Makefile | |
parent | 3de63dee6c3eac5fec7959ececf012abe12ab3a4 (diff) | |
parent | 9d4b4ab0492c4fb2f42ee1e6940c8f85c473f2ad (diff) | |
download | px4-firmware-4a977af8708e3f59b38793dfe501b75842efa08d.tar.gz px4-firmware-4a977af8708e3f59b38793dfe501b75842efa08d.tar.bz2 px4-firmware-4a977af8708e3f59b38793dfe501b75842efa08d.zip |
Merge pull request #1 from PX4/master
From original
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -124,7 +124,7 @@ $(STAGED_FIRMWARES): $(IMAGE_DIR)%.px4: $(BUILD_DIR)%.build/firmware.px4 .PHONY: $(FIRMWARES) $(BUILD_DIR)%.build/firmware.px4: config = $(patsubst $(BUILD_DIR)%.build/firmware.px4,%,$@) $(BUILD_DIR)%.build/firmware.px4: work_dir = $(BUILD_DIR)$(config).build/ -$(FIRMWARES): $(BUILD_DIR)%.build/firmware.px4: checksubmodules generateuorbtopicheaders +$(FIRMWARES): $(BUILD_DIR)%.build/firmware.px4: generateuorbtopicheaders checksubmodules @$(ECHO) %%%% @$(ECHO) %%%% Building $(config) in $(work_dir) @$(ECHO) %%%% @@ -236,7 +236,7 @@ GENMSG_PYTHONPATH = $(PX4_BASE)Tools/genmsg/src GENCPP_PYTHONPATH = $(PX4_BASE)Tools/gencpp/src .PHONY: generateuorbtopicheaders -generateuorbtopicheaders: +generateuorbtopicheaders: checksubmodules @$(ECHO) "Generating uORB topic headers" $(Q) (PYTHONPATH=$(GENMSG_PYTHONPATH):$(GENCPP_PYTHONPATH):$(PYTHONPATH) $(PYTHON) \ $(PX4_BASE)Tools/px_generate_uorb_topic_headers.py \ @@ -262,6 +262,10 @@ testbuild: tests: generateuorbtopicheaders $(Q) (mkdir -p $(PX4_BASE)/unittests/build && cd $(PX4_BASE)/unittests/build && cmake .. && $(MAKE) unittests) +.PHONY: format check_format +check_format: + $(Q) (./Tools/check_code_style.sh | sort -n) + # # Cleanup targets. 'clean' should remove all built products and force # a complete re-compilation, 'distclean' should remove everything |