mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Added sample to Makefile (can run 'make sample' to pull in a few targets, like travis)
This commit is contained in:
parent
d5e20232be
commit
d12d252e37
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -92,6 +92,7 @@ HSE_VALUE = 8000000
|
||||||
# used for turning on features like VCP and SDCARD
|
# used for turning on features like VCP and SDCARD
|
||||||
FEATURES =
|
FEATURES =
|
||||||
|
|
||||||
|
SAMPLE_TARGETS = ALIENFLIGHTF3 ALIENFLIGHTF4 ANYFCF7 BETAFLIGHTF3 BLUEJAYF4 CC3D FURYF4 NAZE REVO SIRINFPV SPARKY SPRACINGF3 SPRACINGF3EVO STM32F3DISCOVERY
|
||||||
ALT_TARGETS = $(sort $(filter-out target, $(basename $(notdir $(wildcard $(ROOT)/src/main/target/*/*.mk)))))
|
ALT_TARGETS = $(sort $(filter-out target, $(basename $(notdir $(wildcard $(ROOT)/src/main/target/*/*.mk)))))
|
||||||
OPBL_TARGETS = $(filter %_OPBL, $(ALT_TARGETS))
|
OPBL_TARGETS = $(filter %_OPBL, $(ALT_TARGETS))
|
||||||
|
|
||||||
|
@ -827,6 +828,8 @@ $(OBJECT_DIR)/$(TARGET)/%.o: %.S
|
||||||
$(V1) echo %% $(notdir $<)
|
$(V1) echo %% $(notdir $<)
|
||||||
$(V1) $(CC) -c -o $@ $(ASFLAGS) $<
|
$(V1) $(CC) -c -o $@ $(ASFLAGS) $<
|
||||||
|
|
||||||
|
## sample : Build all sample (travis) targets
|
||||||
|
sample: $(SAMPLE_TARGETS)
|
||||||
|
|
||||||
## all : Build all valid targets
|
## all : Build all valid targets
|
||||||
all: $(VALID_TARGETS)
|
all: $(VALID_TARGETS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue