diff options
author | Roman I Khimov <khimov@altell.ru> | 2009-03-26 23:03:58 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-04-21 22:44:31 +0200 |
commit | 98c24291aa165f53423c27ae033831ce0b3bb676 (patch) | |
tree | 70adc7632a28a71bfbd0fc0054a45982c4c528cd /recipes/busybox/files/busybox-appletlib-dependency.patch | |
parent | 4b48c66ff661c3b88f85dee62517a31ae66db242 (diff) |
busybox: update appletlib dependency patch
Previous version still failed from time to time on clean-start builds
with 4 bitbake threads and '-j16'. Building busybox as sole target worked
well.
The reason is that previous version introduced a race between applets make
processes spawned from top-level Makefile and from libbb Makefile.
Fix it with high-level dependency that doesn't create races.
Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/busybox/files/busybox-appletlib-dependency.patch')
-rw-r--r-- | recipes/busybox/files/busybox-appletlib-dependency.patch | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/recipes/busybox/files/busybox-appletlib-dependency.patch b/recipes/busybox/files/busybox-appletlib-dependency.patch index 85a61e8cf5..3efd4c0882 100644 --- a/recipes/busybox/files/busybox-appletlib-dependency.patch +++ b/recipes/busybox/files/busybox-appletlib-dependency.patch @@ -1,11 +1,15 @@ ---- a/libbb/Kbuild 2008-11-09 20:28:09.000000000 +0300 -+++ b/libbb/Kbuild 2009-02-17 17:41:48.718747865 +0300 -@@ -147,3 +147,8 @@ lib-$(CONFIG_PGREP) += xregcomp.o - lib-$(CONFIG_PKILL) += xregcomp.o - lib-$(CONFIG_DEVFSD) += xregcomp.o - lib-$(CONFIG_FEATURE_FIND_REGEX) += xregcomp.o +Index: busybox-1.13.2/Makefile +=================================================================== +--- busybox-1.13.2.orig/Makefile 2009-03-19 15:44:37.419270265 +0300 ++++ busybox-1.13.2/Makefile 2009-03-19 15:45:57.737521296 +0300 +@@ -471,6 +471,10 @@ + util-linux/ \ + util-linux/volume_id/ \ + ++# Lib interdeps ++# libbb uses headers generated in applets ++libbb: applets + -+libbb/appletlib.o: include/usage_compressed.h include/applet_tables.h -+ -+include/usage_compressed.h include/applet_tables.h: -+ $(Q)$(MAKE) $(build)=applets $@ + endif # KBUILD_EXTMOD + + ifeq ($(dot-config),1) |