aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/busybox
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2010-05-14 10:14:15 -0700
committerTom Rini <tom_rini@mentor.com>2010-05-14 10:15:15 -0700
commit40c5906ebe86137fd03b5ebe6e501339710dc26d (patch)
tree3527467aeba60d5d7f022fb56738a81dc0e4b186 /recipes/busybox
parent4a5fdf935722e22673732f8883bb45290681e082 (diff)
downloadopenembedded-40c5906ebe86137fd03b5ebe6e501339710dc26d.tar.gz
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@mentor.com>
Diffstat (limited to 'recipes/busybox')
-rw-r--r--recipes/busybox/busybox.inc5
1 files changed, 4 insertions, 1 deletions
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 () {