From 40c5906ebe86137fd03b5ebe6e501339710dc26d Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 14 May 2010 10:14:15 -0700 Subject: 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 --- recipes/busybox/busybox.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/busybox/busybox.inc b/recipes/busybox/busybox.inc index 17d8d14a84..fbcd8ea95f 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 () { -- cgit 1.2.3-korg