summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-02-11 18:02:15 +0000
committerRoy Marples <roy@marples.name>2019-02-11 18:02:15 +0000
commita9c0bec433968247a83b528c31c5b4dc9f309e1e (patch)
treee9e8fc113fbb4d89c65da09d43638abe6fb9ceae
parent2e1657edffd718ba3b7882c998e54c0777857d50 (diff)
downloaddhcpcd-a9c0bec433968247a83b528c.tar.xz
make: support gmake-3 again.
-rw-r--r--iconfig.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/iconfig.mk b/iconfig.mk
index 465e02ea..50c50340 100644
--- a/iconfig.mk
+++ b/iconfig.mk
@@ -1,7 +1,8 @@
# Nasty hack so that make clean works without configure being run
-# Requires gmake4
TOP?= .
_CONFIG_MK!= test -e ${TOP}/config.mk && \
echo config.mk || echo config-null.mk
+_CONFIG_MK?= $(shell test -e ${TOP}/config.mk && \
+ echo config.mk || echo config-null.mk)
CONFIG_MK?= ${_CONFIG_MK}
include ${TOP}/${CONFIG_MK}