mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make: Makefile.base: don't collect wildcard sources if NO_AUTO_SRC is nonempty
This commit is contained in:
parent
a24d7eb162
commit
c442cbcc23
@ -22,16 +22,16 @@ ${DIRS:%=ALL--%}:
|
||||
${DIRS:%=CLEAN--%}:
|
||||
$(QQ)"$(MAKE)" -C ${@:CLEAN--%=%} clean
|
||||
|
||||
ifeq ($(strip $(SRC)),)
|
||||
ifeq ($(strip $(SRC))$(NO_AUTO_SRC),)
|
||||
SRC := $(filter-out $(SRC_NOLTO), $(wildcard *.c))
|
||||
endif
|
||||
ifeq ($(strip $(SRCXX)),)
|
||||
ifeq ($(strip $(SRCXX))$(NO_AUTO_SRC),)
|
||||
SRCXX := $(wildcard *.cpp)
|
||||
endif
|
||||
ifeq ($(strip $(ASMSRC)),)
|
||||
ifeq ($(strip $(ASMSRC))$(NO_AUTO_SRC),)
|
||||
ASMSRC := $(wildcard *.s)
|
||||
endif
|
||||
ifeq ($(strip $(ASSMSRC)),)
|
||||
ifeq ($(strip $(ASSMSRC))$(NO_AUTO_SRC),)
|
||||
ASSMSRC := $(wildcard *.S)
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user