Patchwork [1/7] busybox: don't strip the main binary

login
register
mail settings
Submitter Christopher Larson
Date Aug. 11, 2011, 6:23 p.m.
Message ID <1a00f4f19846518abdef1e7eaa238c0797e75189.1313086806.git.chris_larson@mentor.com>
Download mbox | patch
Permalink /patch/9641/
State New, archived
Headers show

Comments

Christopher Larson - Aug. 11, 2011, 6:23 p.m.
From: Chris Larson <chris_larson@mentor.com>

With this, we get a useful busybox-dbg package.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
---
 meta/recipes-core/busybox/busybox.inc       |    3 ++-
 meta/recipes-core/busybox/busybox_1.18.4.bb |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 5eba0ca..d46c135 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -120,7 +120,8 @@  do_configure () {
 
 do_compile() {
 	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
-	base_do_compile
+	oe_runmake busybox_unstripped
+	cp busybox_unstripped busybox
 }
 
 do_install () {
diff --git a/meta/recipes-core/busybox/busybox_1.18.4.bb b/meta/recipes-core/busybox/busybox_1.18.4.bb
index d18af6f..b4681a4 100644
--- a/meta/recipes-core/busybox/busybox_1.18.4.bb
+++ b/meta/recipes-core/busybox/busybox_1.18.4.bb
@@ -1,5 +1,5 @@ 
 require busybox.inc
-PR = "r7"
+PR = "r8"
 
 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
            file://udhcpscript.patch \