mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-12 19:10:32 +03:00
Use semaphore in directory for default goal recipe for target
This commit is contained in:
parent
f26ae0ef92
commit
1cda28e8d7
3 changed files with 5 additions and 4 deletions
9
Makefile
9
Makefile
|
@ -91,14 +91,15 @@ MAKE_PARALLEL = $(if $(filter -j%, $(MAKEFLAGS)),$(EMPTY),-j$(DEFAULT_PAR
|
|||
# pre-build sanity checks
|
||||
include $(MAKE_SCRIPT_DIR)/checks.mk
|
||||
|
||||
# list of targets that are executed on host (using exe as goal)
|
||||
EXE_TARGETS := SITL
|
||||
UF2_TARGETS := RP2350
|
||||
|
||||
# basic target list
|
||||
PLATFORMS := $(sort $(notdir $(patsubst /%,%, $(wildcard $(PLATFORM_DIR)/*))))
|
||||
BASE_TARGETS := $(sort $(notdir $(patsubst %/,%,$(dir $(wildcard $(PLATFORM_DIR)/*/target/*/target.mk)))))
|
||||
|
||||
# list of targets that are executed on host - using exe as goal recipe
|
||||
EXE_TARGETS := $(sort $(notdir $(patsubst %/,%,$(dir $(wildcard $(PLATFORM_DIR)/*/target/*/.exe)))))
|
||||
# list of targets using uf2 as goal recipe
|
||||
UF2_TARGETS := $(sort $(notdir $(patsubst %/,%,$(dir $(wildcard $(PLATFORM_DIR)/*/target/*/.uf2)))))
|
||||
# list of targets using hex as goal recipe (default)
|
||||
HEX_TARGETS := $(filter-out $(EXE_TARGETS) $(UF2_TARGETS),$(BASE_TARGETS))
|
||||
|
||||
# configure some directories that are relative to wherever ROOT_DIR is located
|
||||
|
|
0
src/platform/PICO/target/RP2350/.uf2
Normal file
0
src/platform/PICO/target/RP2350/.uf2
Normal file
0
src/platform/SIMULATOR/target/SITL/.exe
Normal file
0
src/platform/SIMULATOR/target/SITL/.exe
Normal file
Loading…
Add table
Add a link
Reference in a new issue