Skip to content
Snippets Groups Projects
Commit c442cbcc authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

make: Makefile.base: don't collect wildcard sources if NO_AUTO_SRC is nonempty

parent a24d7eb1
No related branches found
No related tags found
No related merge requests found
...@@ -22,16 +22,16 @@ ${DIRS:%=ALL--%}: ...@@ -22,16 +22,16 @@ ${DIRS:%=ALL--%}:
${DIRS:%=CLEAN--%}: ${DIRS:%=CLEAN--%}:
$(QQ)"$(MAKE)" -C ${@:CLEAN--%=%} clean $(QQ)"$(MAKE)" -C ${@:CLEAN--%=%} clean
ifeq ($(strip $(SRC)),) ifeq ($(strip $(SRC))$(NO_AUTO_SRC),)
SRC := $(filter-out $(SRC_NOLTO), $(wildcard *.c)) SRC := $(filter-out $(SRC_NOLTO), $(wildcard *.c))
endif endif
ifeq ($(strip $(SRCXX)),) ifeq ($(strip $(SRCXX))$(NO_AUTO_SRC),)
SRCXX := $(wildcard *.cpp) SRCXX := $(wildcard *.cpp)
endif endif
ifeq ($(strip $(ASMSRC)),) ifeq ($(strip $(ASMSRC))$(NO_AUTO_SRC),)
ASMSRC := $(wildcard *.s) ASMSRC := $(wildcard *.s)
endif endif
ifeq ($(strip $(ASSMSRC)),) ifeq ($(strip $(ASSMSRC))$(NO_AUTO_SRC),)
ASSMSRC := $(wildcard *.S) ASSMSRC := $(wildcard *.S)
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment