From: Roy Marples Date: Fri, 5 Feb 2021 22:41:16 +0000 (+0000) Subject: Force TOP as we know which directory we are in. X-Git-Tag: v9.4.1~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91f6a81cfefda8a615a49824fbd49eac6b50ab95;p=thirdparty%2Fdhcpcd.git Force TOP as we know which directory we are in. --- diff --git a/hooks/Makefile b/hooks/Makefile index 3bcf083c..7a0c3b1d 100644 --- a/hooks/Makefile +++ b/hooks/Makefile @@ -1,4 +1,4 @@ -TOP?= ../ +TOP= ../ include ${TOP}/iconfig.mk PROG= dhcpcd-run-hooks diff --git a/src/Makefile b/src/Makefile index 28104b2e..4849a77a 100644 --- a/src/Makefile +++ b/src/Makefile @@ -8,8 +8,8 @@ SRCS+= dhcp-common.c script.c CFLAGS?= -O2 SUBDIRS+= ${MKDIRS} -TOP?= .. -include ${TOP}/iconfig.mk +TOP= .. +include ${TOP}/iconfig.mk CSTD?= c99 CFLAGS+= -std=${CSTD} diff --git a/src/dev/Makefile b/src/dev/Makefile index 13832b9e..7961149f 100644 --- a/src/dev/Makefile +++ b/src/dev/Makefile @@ -1,4 +1,4 @@ -TOP?= ../../ +TOP= ../../ include ${TOP}/Makefile.inc include ${TOP}/config.mk diff --git a/tests/crypt/Makefile b/tests/crypt/Makefile index db23f710..dd676f4b 100644 --- a/tests/crypt/Makefile +++ b/tests/crypt/Makefile @@ -1,4 +1,4 @@ -TOP?= ../.. +TOP= ../.. include ${TOP}/iconfig.mk PROG= run-test diff --git a/tests/eloop-bench/Makefile b/tests/eloop-bench/Makefile index 332e889f..2827c607 100644 --- a/tests/eloop-bench/Makefile +++ b/tests/eloop-bench/Makefile @@ -1,4 +1,4 @@ -TOP?= ../.. +TOP= ../.. include ${TOP}/iconfig.mk PROG= eloop-bench