[oe-commits] Tom Rini : busybox: Fix the -dbg package, bump INC_PR

git version control git at git.openembedded.org
Fri May 14 17:15:21 UTC 2010


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

Author: Tom Rini <tom_rini at mentor.com>
Date:   Fri May 14 10:14:15 2010 -0700

busybox: Fix the -dbg package, bump INC_PR

busybox will link to busybox_unstripped then strip to produce busybox,
giving us an empty -dbg package.  At the end of do_compile, copy
busybox_unstripped to busybox, so our striping happens as expected.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/busybox/busybox.inc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/recipes/busybox/busybox.inc b/recipes/busybox/busybox.inc
index 17d8d14..fbcd8ea 100644
--- a/recipes/busybox/busybox.inc
+++ b/recipes/busybox/busybox.inc
@@ -11,7 +11,7 @@ LICENSE = "GPLv2"
 SECTION = "base"
 PRIORITY = "required"
 
-INC_PR = "r27"
+INC_PR = "r28"
 
 SRC_URI = "\
   file://busybox-cron \
@@ -78,6 +78,9 @@ do_configure () {
 do_compile() {
 	unset CFLAGS CPPFLAGS CXXFLAGS
 	base_do_compile
+	# Busybox will force a strip, we do not want that.  Future-proof
+	# in case later versions do this better.
+	cp busybox_unstripped busybox || true
 }
 
 do_install () {





More information about the Openembedded-commits mailing list