1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

Makefile.base: add variable to exclude cpp files from build

This commit is contained in:
Alexandre Abadie 2019-11-29 14:03:02 +01:00
parent 44974ac106
commit 72bed868db
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -55,7 +55,7 @@ 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))$(NO_AUTO_SRC),) ifeq ($(strip $(SRCXX))$(NO_AUTO_SRC),)
SRCXX := $(wildcard *.$(SRCXXEXT)) SRCXX := $(filter-out $(SRCXXEXCLUDE),$(wildcard *.$(SRCXXEXT)))
endif endif
ifeq ($(strip $(ASMSRC))$(NO_AUTO_SRC),) ifeq ($(strip $(ASMSRC))$(NO_AUTO_SRC),)
ASMSRC := $(wildcard *.s) ASMSRC := $(wildcard *.s)