[oe-commits] Holger Hans Peter Freyther : busybox: Apply a paych for make3. 82 and the Makefile

git version control git at git.openembedded.org
Sat Sep 18 14:49:38 UTC 2010


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

Author: Holger Hans Peter Freyther <zecke at selfish.org>
Date:   Sat Sep 18 17:28:20 2010 +0800

busybox: Apply a paych for make3.82 and the Makefile

Newer make do not like to mix different types of rules,
take the patch from upstream master to address this.

---

 .../busybox-1.13.2/busybox-1.13.2-make382.patch    |   40 ++++++++++++++++++++
 recipes/busybox/busybox_1.13.2.bb                  |    3 +-
 2 files changed, 42 insertions(+), 1 deletions(-)

diff --git a/recipes/busybox/busybox-1.13.2/busybox-1.13.2-make382.patch b/recipes/busybox/busybox-1.13.2/busybox-1.13.2-make382.patch
new file mode 100644
index 0000000..caf874c
--- /dev/null
+++ b/recipes/busybox/busybox-1.13.2/busybox-1.13.2-make382.patch
@@ -0,0 +1,40 @@
+From adbe3b5b982874071b9b826cea1632fc00c85982 Mon Sep 17 00:00:00 2001
+From: Denys Vlasenko <vda.linux at googlemail.com>
+Date: Sun, 22 Aug 2010 07:28:46 +0000
+Subject: build system: make 3.82 fix. Closes bug 2323
+
+Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
+---
+Index: busybox-1.13.2/Makefile
+===================================================================
+--- busybox-1.13.2.orig/Makefile
++++ busybox-1.13.2/Makefile
+@@ -418,7 +418,12 @@ ifeq ($(config-targets),1)
+ -include $(srctree)/arch/$(ARCH)/Makefile
+ export KBUILD_DEFCONFIG
+ 
+-config %config: scripts_basic outputmakefile FORCE
++config: scripts_basic outputmakefile FORCE
++	$(Q)mkdir -p include
++	$(Q)$(MAKE) $(build)=scripts/kconfig $@
++	$(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
++
++%config: scripts_basic outputmakefile FORCE
+ 	$(Q)mkdir -p include
+ 	$(Q)$(MAKE) $(build)=scripts/kconfig $@
+ 	$(Q)$(MAKE) -C $(srctree) KBUILD_SRC= .kernelrelease
+@@ -1266,9 +1271,13 @@ endif
+ 	$(Q)$(MAKE) $(build)=$(build-dir) $(target-dir)$(notdir $@)
+ 
+ # Modules
+-/ %/: prepare scripts FORCE
++%/: prepare scripts FORCE
+ 	$(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
+ 	$(build)=$(build-dir)
++/: prepare scripts FORCE
++	$(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1) \
++	$(build)=$(build-dir)
++
+ %.ko: prepare scripts FORCE
+ 	$(Q)$(MAKE) KBUILD_MODULES=$(if $(CONFIG_MODULES),1)   \
+ 	$(build)=$(build-dir) $(@:.ko=.o)
diff --git a/recipes/busybox/busybox_1.13.2.bb b/recipes/busybox/busybox_1.13.2.bb
index 0741d5c..a3acceb 100644
--- a/recipes/busybox/busybox_1.13.2.bb
+++ b/recipes/busybox/busybox_1.13.2.bb
@@ -1,5 +1,5 @@
 require busybox.inc
-PR = "${INC_PR}.2"
+PR = "${INC_PR}.3"
 
 SRC_URI = "\
   http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
@@ -15,6 +15,7 @@ SRC_URI = "\
   file://busybox-1.13.2-top24.patch \
   file://busybox-1.13.2-unzip.patch \
   file://busybox-1.13.2-wget.patch \
+  file://busybox-1.13.2-make382.patch \
   file://fdisk_nios2.patch \
   \
   file://udhcpscript.patch \





More information about the Openembedded-commits mailing list