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>
SECTION = "base"
PRIORITY = "required"
-INC_PR = "r27"
+INC_PR = "r28"
SRC_URI = "\
file://busybox-cron \
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 () {