diff options
author | Anton Matosov <anton.matosov@gmail.com> | 2015-01-05 03:18:14 +0200 |
---|---|---|
committer | Anton Matosov <anton.matosov@gmail.com> | 2015-01-05 12:02:32 +0200 |
commit | 21b45ae86b1525e052ea9b37e78c960498a95c72 (patch) | |
tree | 9bff15449b4d5252f94849e51a61b07db3fdb438 /src/modules/px4iofirmware | |
parent | 2daf30fb251c7dc8d59f0302ecb444b116081931 (diff) | |
download | px4-firmware-21b45ae86b1525e052ea9b37e78c960498a95c72.tar.gz px4-firmware-21b45ae86b1525e052ea9b37e78c960498a95c72.tar.bz2 px4-firmware-21b45ae86b1525e052ea9b37e78c960498a95c72.zip |
Removed extension for multi_tables to not affect its users
Fixed dependencies for the mixer_multirotor.cpp from all the modules
Diffstat (limited to 'src/modules/px4iofirmware')
-rw-r--r-- | src/modules/px4iofirmware/module.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/modules/px4iofirmware/module.mk b/src/modules/px4iofirmware/module.mk index eb99e8a96..bfcbaa9f8 100644 --- a/src/modules/px4iofirmware/module.mk +++ b/src/modules/px4iofirmware/module.mk @@ -1,5 +1,4 @@ - SRCS = adc.c \ controls.c \ dsm.c \ @@ -24,3 +23,13 @@ ifeq ($(BOARD),px4io-v2) SRCS += serial.c \ ../systemlib/hx_stream.c endif + +SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST))) +MIXER_DIR:=$(SELF_DIR)../systemlib/mixer/ + +# Add explicit dependency, as implicit one doesn't work often. +$(MIXER_DIR)mixer_multirotor.cpp : $(MIXER_DIR)mixer_multirotor.generated.h + +$(MIXER_DIR)mixer_multirotor.generated.h : $(MIXER_DIR)multi_tables + $(MIXER_DIR)multi_tables > $(MIXER_DIR)mixer_multirotor.generated.h +
\ No newline at end of file |