summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox.inc
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-10-05 14:55:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-01 21:32:11 +0000
commite1ecccd0d46b602ac4dcee5983fe747a90e5f7a0 (patch)
tree108f65324780ebea61de58539a6d8bb07f73390b /meta/recipes-core/busybox/busybox.inc
parent0e633006ff845c76e6706f8c2d5be4a001e35bb0 (diff)
downloadpoky-e1ecccd0d46b602ac4dcee5983fe747a90e5f7a0.tar.gz
busybox: move EXTRA_OEMAKE etc into busybox.inc
EXTRA_OEMAKE options and do_install_ptest() are common to both busybox recipes, so move into busybox.inc. (From OE-Core rev: aeeb80be6db8df0548c97b4a40c1561cc724debb) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox.inc')
-rw-r--r--meta/recipes-core/busybox/busybox.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 9e1a207e6d..ac534a4acb 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -18,7 +18,7 @@ BUSYBOX_SPLIT_SUID ?= "1"
18export EXTRA_CFLAGS = "${CFLAGS}" 18export EXTRA_CFLAGS = "${CFLAGS}"
19export EXTRA_LDFLAGS = "${LDFLAGS}" 19export EXTRA_LDFLAGS = "${LDFLAGS}"
20 20
21EXTRA_OEMAKE += "LD='${CCLD}'" 21EXTRA_OEMAKE += "LD='${CCLD}' V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX} SKIP_STRIP=y"
22 22
23PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev ${PN}-hwclock" 23PACKAGES =+ "${PN}-httpd ${PN}-udhcpd ${PN}-udhcpc ${PN}-syslog ${PN}-mdev ${PN}-hwclock"
24 24
@@ -301,6 +301,12 @@ do_install () {
301 fi 301 fi
302} 302}
303 303
304do_install_ptest () {
305 cp -r ${B}/testsuite ${D}${PTEST_PATH}/
306 cp ${B}/.config ${D}${PTEST_PATH}/
307 ln -s /bin/busybox ${D}${PTEST_PATH}/busybox
308}
309
304inherit update-alternatives 310inherit update-alternatives
305 311
306ALTERNATIVE_PRIORITY = "50" 312ALTERNATIVE_PRIORITY = "50"