mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Removed extension for multi_tables to not affect its users
Fixed dependencies for the mixer_multirotor.cpp from all the modules
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -46,7 +46,7 @@ SRCS = mixer.cpp \
|
||||
SELF_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
|
||||
|
||||
# Add explicit dependency, as implicit one doesn't work often.
|
||||
mixer_multirotor.cpp : $(SELF_DIR)mixer_multirotor.generated.h
|
||||
$(SELF_DIR)mixer_multirotor.cpp : $(SELF_DIR)mixer_multirotor.generated.h
|
||||
|
||||
$(SELF_DIR)mixer_multirotor.generated.h : $(SELF_DIR)multi_tables
|
||||
$(SELF_DIR)multi_tables > $(SELF_DIR)mixer_multirotor.generated.h
|
||||
$(SELF_DIR)multi_tables> $(SELF_DIR)mixer_multirotor.generated.h
|
||||
|
||||
Reference in New Issue
Block a user