From 72bed868db9d2f7ec90176ce8f015d359e5e1942 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Fri, 29 Nov 2019 14:03:02 +0100 Subject: [PATCH] Makefile.base: add variable to exclude cpp files from build --- Makefile.base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.base b/Makefile.base index a533316d3d..6b31f36e4b 100644 --- a/Makefile.base +++ b/Makefile.base @@ -55,7 +55,7 @@ ifeq ($(strip $(SRC))$(NO_AUTO_SRC),) SRC := $(filter-out $(SRC_NOLTO), $(wildcard *.c)) endif ifeq ($(strip $(SRCXX))$(NO_AUTO_SRC),) - SRCXX := $(wildcard *.$(SRCXXEXT)) + SRCXX := $(filter-out $(SRCXXEXCLUDE),$(wildcard *.$(SRCXXEXT))) endif ifeq ($(strip $(ASMSRC))$(NO_AUTO_SRC),) ASMSRC := $(wildcard *.s)