summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox-1.16.2/busybox-appletlib-dependency.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/busybox/busybox-1.16.2/busybox-appletlib-dependency.patch')
-rw-r--r--meta/recipes-core/busybox/busybox-1.16.2/busybox-appletlib-dependency.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox-1.16.2/busybox-appletlib-dependency.patch b/meta/recipes-core/busybox/busybox-1.16.2/busybox-appletlib-dependency.patch
new file mode 100644
index 0000000000..041aa6c54c
--- /dev/null
+++ b/meta/recipes-core/busybox/busybox-1.16.2/busybox-appletlib-dependency.patch
@@ -0,0 +1,35 @@
1# copy commit message from OE as the patch comment:
2# commit 98c24291aa165f53423c27ae033831ce0b3bb676
3# Author: Roman I Khimov <khimov@altell.ru>
4# Date: Thu Mar 26 23:03:58 2009 +0000
5#
6# busybox: update appletlib dependency patch
7#
8# Previous version still failed from time to time on clean-start builds
9# with 4 bitbake threads and '-j16'. Building busybox as sole target worked
10# well.
11#
12# The reason is that previous version introduced a race between applets make
13# processes spawned from top-level Makefile and from libbb Makefile.
14#
15# Fix it with high-level dependency that doesn't create races.
16#
17# Signed-off-by: Koen Kooi <koen@openembedded.org>
18#
19# above comment added by Kevin Tian <kevin.tian@intel.com>, 2010-07-06
20
21Index: busybox-1.13.2/Makefile
22===================================================================
23--- busybox-1.13.2.orig/Makefile 2009-03-19 15:44:37.419270265 +0300
24+++ busybox-1.13.2/Makefile 2009-03-19 15:45:57.737521296 +0300
25@@ -471,6 +471,10 @@
26 util-linux/ \
27 util-linux/volume_id/ \
28
29+# Lib interdeps
30+# libbb uses headers generated in applets
31+libbb: applets
32+
33 endif # KBUILD_EXTMOD
34
35 ifeq ($(dot-config),1)