[oe-commits] Richard Purdie : depmodwrapper-cross: Mark as machine specific

git at git.openembedded.org git at git.openembedded.org
Sat Mar 2 16:35:12 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 1cc2ac769baae19b54184df5f43a3e77c1743c29
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1cc2ac769baae19b54184df5f43a3e77c1743c29

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Sat Mar  2 16:33:26 2013 +0000

depmodwrapper-cross: Mark as machine specific

The kernel and its staging directory are machine specific so the wrapper
needs to be as well. Also take the opportunity to remove the default
dependencies of the recipe since its a script and doesn't need the cross
compiler. This gives the build a little more scheduing freedom.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../recipes-kernel/kmod/depmodwrapper-cross_1.0.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
index efb1cac..3051078 100644
--- a/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
+++ b/meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb
@@ -3,6 +3,10 @@ LICENSE = "MIT"
 PR = "r0"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
+INHIBIT_DEFAULT_DEPS = "1"
+# The kernel and the staging dir for it is machine specific
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
 # We need the following for the sstate code to process the wrapper
 SSTATE_SCAN_FILES += "depmodwrapper"
 





More information about the Openembedded-commits mailing list