aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/hal.mk
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-03 10:58:22 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-03 10:58:22 +0000
commite558e86d7401239a9ba369bfac298bdead236ecc (patch)
tree89b103e501add373ec4e430c508c3954384b8130 /os/hal/hal.mk
parent8b133b8c181b0a0a5ba9e1f255c36a3b546c750c (diff)
downloadChibiOS-e558e86d7401239a9ba369bfac298bdead236ecc.tar.gz
ChibiOS-e558e86d7401239a9ba369bfac298bdead236ecc.tar.bz2
ChibiOS-e558e86d7401239a9ba369bfac298bdead236ecc.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9233 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/hal.mk')
-rw-r--r--os/hal/hal.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/hal.mk b/os/hal/hal.mk
index 4d5f95f20..01e21c97e 100644
--- a/os/hal/hal.mk
+++ b/os/hal/hal.mk
@@ -1,7 +1,7 @@
# List of all the ChibiOS/HAL files, there is no need to remove the files
# from this list, you can disable parts of the HAL by editing halconf.h.
ifeq ($(USE_SMART_BUILD),yes)
-HALCONF := $(strip $(shell cat halconf.h | egrep -e "define"))
+HALCONF := $(strip $(shell cat halconf.h | egrep -e "\#define"))
HALSRC := $(CHIBIOS)/os/hal/src/hal.c \
$(CHIBIOS)/os/hal/src/hal_st.c \