mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 05:23:34 +08:00
Fixed compilation of tests target in clean checkout
Moved mixer_multirotor.generated.h generation to the standalone makefile to prevent copypaste
This commit is contained in:
@@ -24,12 +24,6 @@ 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
|
||||
include ../systemlib/mixer/multi_tables.mk
|
||||
|
||||
Reference in New Issue
Block a user