]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
make: support gmake-3 again.
authorRoy Marples <roy@marples.name>
Mon, 11 Feb 2019 18:02:15 +0000 (18:02 +0000)
committerRoy Marples <roy@marples.name>
Mon, 11 Feb 2019 18:02:15 +0000 (18:02 +0000)
iconfig.mk

index 465e02eae0ad38ba95d6f26db21458768c4c5f87..50c50340c17e8b3ae34c80b9427e253b2d8bf5f2 100644 (file)
@@ -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}