[klibc] [PATCH] Avoid infinite loop during build with make 3.82

crocket crockabiscuit at gmail.com
Thu Nov 11 06:13:19 PST 2010


Is that the patch?

diff --git a/usr/klibc/socketcalls/Kbuild b/usr/klibc/socketcalls/Kbuild
index 648c928..d70b15f 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)
+
+# Used by if_changed and friends
+PHONY += FORCE
diff --git a/usr/klibc/syscalls/Kbuild b/usr/klibc/syscalls/Kbuild
index 4dbbc31..c94f65c 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)
+
+# Used by if_changed and friends
+PHONY += FORCE

On Thu, Nov 11, 2010 at 12:06 AM, Erik Johansson <erik at ejohansson.se> wrote:
> On Wed, Nov 10, 2010 at 11:59, maximilian attems <max at stro.at> wrote:
>> Erik or kelly could you please test the patch on your build?
>
> Well it works for me, but I've only tested on version 1.5.15.
>
> // Erik
>
> --
> Erik Johansson
> Home Page: http://ejohansson.se/
> PGP Key: http://ejohansson.se/erik.asc
>



More information about the klibc mailing list