busybox: Don't strip binaries, let poky handle it
authorRichard Purdie <richard@openedhand.com>
Tue, 30 Jan 2007 22:42:05 +0000 (22:42 +0000)
committerRichard Purdie <richard@openedhand.com>
Tue, 30 Jan 2007 22:42:05 +0000 (22:42 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1232 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/busybox/busybox-1.01/no_strip.patch [new file with mode: 0644]
meta/packages/busybox/busybox_1.01.bb

diff --git a/meta/packages/busybox/busybox-1.01/no_strip.patch b/meta/packages/busybox/busybox-1.01/no_strip.patch
new file mode 100644 (file)
index 0000000..683bf6b
--- /dev/null
@@ -0,0 +1,17 @@
+---
+ Rules.mak |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: busybox-1.01/Rules.mak
+===================================================================
+--- busybox-1.01.orig/Rules.mak        2005-08-17 02:29:17.000000000 +0100
++++ busybox-1.01/Rules.mak     2007-01-12 01:03:01.000000000 +0000
+@@ -167,7 +167,7 @@ ifeq ($(strip $(CONFIG_DEBUG)),y)
+ else
+     CFLAGS+=$(WARNINGS) $(OPTIMIZATIONS) -D_GNU_SOURCE -DNDEBUG
+     LDFLAGS += -Wl,-warn-common
+-    STRIPCMD:=$(STRIP) -s --remove-section=.note --remove-section=.comment
++    STRIPCMD:=/bin/true -OE_WILL_DO_THIS
+ endif
+ ifeq ($(strip $(CONFIG_STATIC)),y)
+     LDFLAGS += --static
index 9c8b7e6..2b777da 100644 (file)
@@ -10,9 +10,10 @@ HOMEPAGE = "http://www.busybox.net"
 LICENSE = "GPL"
 SECTION = "base"
 PRIORITY = "required"
-PR = "r12"
+PR = "r13"
 
 SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
+           file://no_strip.patch;patch=1 \
           file://udhcppidfile.patch;patch=1 \
           file://udhcppidfile-breakage.patch;patch=1 \
            file://add-getkey-applet.patch;patch=1 \