diff options
author | Erik Johansson <erik@ejohansson.se> | 2010-11-10 11:23:34 +0100 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2011-01-25 22:46:53 +0100 |
commit | bfd4f2fcdfc43d34895de1872768c6301846d81a (patch) | |
tree | 838b85760dcccccf4d6d8923ad92f0a78843b65e | |
parent | 553466350c80a09da9414f007d34bd1a4d3a9aba (diff) | |
download | klibc-bfd4f2fcdfc43d34895de1872768c6301846d81a.tar.gz |
[klibc] Kbuild: Avoid infinite loop during build with make 3.82klibc-1.5.21
Remove FORCE from the list used by if_changed and friends. Otherwise the target
will always be considered out of date when built with make 3.82.
>From GNU make 3.82 NEWS file:
* WARNING: Backward-incompatibility!
The '$?' variable now contains all prerequisites that caused the target to
be considered out of date, even if they do not exist (previously only
existing targets were provided in $?).
Tested-by: Erwan Velu <erwanaliasr1@gmail.com>
Tested-by: crocket <crockabiscuit@gmail.com>
Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r-- | usr/klibc/socketcalls/Kbuild | 3 | ||||
-rw-r--r-- | usr/klibc/syscalls/Kbuild | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/usr/klibc/socketcalls/Kbuild b/usr/klibc/socketcalls/Kbuild index 648c92845b92e..4ff9af7138ab6 100644 --- a/usr/klibc/socketcalls/Kbuild +++ b/usr/klibc/socketcalls/Kbuild @@ -48,3 +48,6 @@ $(obj)/socketcalls.mk: $(srctree)/$(KLIBCSRC)/socketcalls.pl \ $(obj)/SOCKETCALLS.i \ $(src)/socketcommon.h $(call cmd,socketcalls) + +PHONY += FORCE + diff --git a/usr/klibc/syscalls/Kbuild b/usr/klibc/syscalls/Kbuild index 4dbbc311bf442..5eb88fa9ffb76 100644 --- a/usr/klibc/syscalls/Kbuild +++ b/usr/klibc/syscalls/Kbuild @@ -95,3 +95,6 @@ $(obj)/syscalls.mk: $(srctree)/$(KLIBCSRC)/syscalls.pl $(obj)/SYSCALLS.i \ $(src)/syscommon.h $(obj)/syscalls.nrs \ $(obj)/typesize.bin FORCE $(call if_changed,syscalls) + +PHONY += FORCE + |