aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/rt.mk
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/rt.mk')
-rw-r--r--os/rt/rt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/rt.mk b/os/rt/rt.mk
index c445d305f..5d01736c2 100644
--- a/os/rt/rt.mk
+++ b/os/rt/rt.mk
@@ -1,7 +1,7 @@
# List of all the ChibiOS/RT kernel files, there is no need to remove the files
# from this list, you can disable parts of the kernel by editing chconf.h.
ifeq ($(USE_SMART_BUILD),yes)
-CHCONF := $(strip $(shell cat chconf.h | egrep -e "define"))
+CHCONF := $(strip $(shell cat chconf.h | egrep -e "\#define"))
KERNSRC := $(CHIBIOS)/os/rt/src/chsys.c \
$(CHIBIOS)/os/rt/src/chdebug.c \