summaryrefslogtreecommitdiffstats
path: root/iconfig.mk
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2014-05-30 21:47:14 +0000
committerRoy Marples <roy@marples.name>2014-05-30 21:47:14 +0000
commit55e83eba2de92dfdc2a2e2c8d56f581260480c80 (patch)
treee162a6f12db989437eb53909215857276fffa114 /iconfig.mk
parentc85baeae3e9f3e1a0965bf956b59c74a9aa208e9 (diff)
downloaddhcpcd-55e83eba2de92dfdc2a2e2c8d56f581260480c80.tar.xz
Load config.{h,mk} when building tests. Fixes [1c11c59282].
Diffstat (limited to 'iconfig.mk')
-rw-r--r--iconfig.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/iconfig.mk b/iconfig.mk
index 7db60098..465e02ea 100644
--- a/iconfig.mk
+++ b/iconfig.mk
@@ -1,6 +1,7 @@
# Nasty hack so that make clean works without configure being run
# Requires gmake4
-_CONFIG_MK!= test -e ${TOP}/config.mk && echo config.mk || echo config-null.mk
-CONFIG_MK?= ${_CONFIG_MK}
TOP?= .
+_CONFIG_MK!= test -e ${TOP}/config.mk && \
+ echo config.mk || echo config-null.mk
+CONFIG_MK?= ${_CONFIG_MK}
include ${TOP}/${CONFIG_MK}