[OE-core] [PATCH 2/2] depmodwrapper-cross/qemuwrapper-cross: Drop unneeded binutils dependency
Richard Purdie
richard.purdie at linuxfoundation.org
Sun Feb 19 15:00:34 UTC 2017
By default these pull in binutils-cross since they're a cross tool
and pull in any native tool requirements. In reality they don't
need such tools at build time or runtime since they're scripts.
Therefore clear the dependency and save on some processing time.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | 2 ++
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb | 2 ++
2 files changed, 4 insertions(+)
diff --git a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
index b86400b..e40cdaf 100644
--- a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
+++ b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb
@@ -7,6 +7,8 @@ DEPENDS += "qemu-native"
inherit qemu
+do_populate_sysroot[depends] = ""
+
do_install () {
install -d ${D}${bindir_crossscripts}/
diff --git a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
index aa2805b..17a99a4 100644
--- a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
+++ b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
@@ -11,6 +11,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
SSTATE_SCAN_FILES += "depmodwrapper"
EXTRA_STAGING_FIXMES = "PKGDATA_DIR"
+do_populate_sysroot[depends] = ""
+
do_install() {
install -d ${D}${bindir_crossscripts}/
--
2.7.4
More information about the Openembedded-core
mailing list