[oe-commits] Roman I Khimov : busybox-1.13.2: fix parallel build failing on appletlib

GIT User account git at amethyst.openembedded.net
Tue Feb 17 17:02:30 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 58c556d90552178c7221d903bf2077dcda0327fc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=58c556d90552178c7221d903bf2077dcda0327fc

Author: Roman I Khimov <khimov at altell.ru>
Date:   Tue Feb 17 18:36:27 2009 +0300

busybox-1.13.2: fix parallel build failing on appletlib

libbb/appletlib.o depends on generated headers, build can fail with

libbb/appletlib.c:53:27: error: applet_tables.h: No such file or directory

if that dependency is not taken into account

---

 .../busybox-appletlib-dependency.patch             |   11 +++++++++++
 packages/busybox/busybox_1.13.2.bb                 |    3 ++-
 2 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/packages/busybox/busybox-1.13.2/busybox-appletlib-dependency.patch b/packages/busybox/busybox-1.13.2/busybox-appletlib-dependency.patch
new file mode 100644
index 0000000..85a61e8
--- /dev/null
+++ b/packages/busybox/busybox-1.13.2/busybox-appletlib-dependency.patch
@@ -0,0 +1,11 @@
+--- 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
++
++libbb/appletlib.o: include/usage_compressed.h include/applet_tables.h
++
++include/usage_compressed.h include/applet_tables.h:
++        $(Q)$(MAKE) $(build)=applets $@
diff --git a/packages/busybox/busybox_1.13.2.bb b/packages/busybox/busybox_1.13.2.bb
index e8f37a0..cc2cb2b 100644
--- a/packages/busybox/busybox_1.13.2.bb
+++ b/packages/busybox/busybox_1.13.2.bb
@@ -1,5 +1,5 @@
 require busybox.inc
-PR = "r15"
+PR = "r16"
 
 SRC_URI = "\
   http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
@@ -13,6 +13,7 @@ SRC_URI = "\
   file://udhcpc-fix-nfsroot.patch;patch=1 \
   file://B921600.patch;patch=1 \
   file://get_header_tar.patch;patch=1 \
+  file://busybox-appletlib-dependency.patch;patch=1 \
   file://find-touchscreen.sh \
   file://busybox-cron \
   file://busybox-httpd \





More information about the Openembedded-commits mailing list