diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-04 10:39:24 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-04 10:39:24 +0100 |
commit | 8e8f84bde0d2e15734d931ea38a7b294a06d7314 (patch) | |
tree | 34486c8b4ea7dc5691871b180b910670383db602 /Makefile | |
parent | 83d97fd1c27728145e4869f957afcc7cae57ff8a (diff) | |
download | px4-firmware-8e8f84bde0d2e15734d931ea38a7b294a06d7314.tar.gz px4-firmware-8e8f84bde0d2e15734d931ea38a7b294a06d7314.tar.bz2 px4-firmware-8e8f84bde0d2e15734d931ea38a7b294a06d7314.zip |
uorb topic header generator: only create new files if the file content really changed
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -227,12 +227,15 @@ updatesubmodules: MSG_DIR = $(PX4_BASE)msg/px4_msgs MSG_TEMPLATE_DIR = $(PX4_BASE)msg/templates TOPICS_DIR = $(PX4_BASE)src/modules/uORB/topics +TOPICS_TEMPORARY_DIR = $(BUILD_DIR)topics_temporary .PHONY: generateuorbtopicheaders generateuorbtopicheaders: @$(ECHO) "Generating uORB topic headers" $(Q) ($(PX4_BASE)/Tools/px_generate_uorb_topic_headers.py -d $(MSG_DIR) \ - -o $(TOPICS_DIR) -e $(MSG_TEMPLATE_DIR)) + -o $(TOPICS_DIR) -e $(MSG_TEMPLATE_DIR) -t $(TOPICS_TEMPORARY_DIR)) +# clean up temporary files + $(Q) (rm -r $(TOPICS_TEMPORARY_DIR)) # # Testing targets |