From d12d252e37ce000307b9c00be23c2b07c1b893e3 Mon Sep 17 00:00:00 2001 From: blckmn Date: Sun, 23 Oct 2016 14:17:53 +1100 Subject: [PATCH] Added sample to Makefile (can run 'make sample' to pull in a few targets, like travis) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index eb3a7cc28..1c417de6f 100644 --- a/Makefile +++ b/Makefile @@ -92,6 +92,7 @@ HSE_VALUE = 8000000 # used for turning on features like VCP and SDCARD 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))))) OPBL_TARGETS = $(filter %_OPBL, $(ALT_TARGETS)) @@ -827,6 +828,8 @@ $(OBJECT_DIR)/$(TARGET)/%.o: %.S $(V1) echo %% $(notdir $<) $(V1) $(CC) -c -o $@ $(ASFLAGS) $< +## sample : Build all sample (travis) targets +sample: $(SAMPLE_TARGETS) ## all : Build all valid targets all: $(VALID_TARGETS)