depmodwrapper-cross: Mark as machine specific
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Mar 2013 16:33:26 +0000 (16:33 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Mar 2013 16:35:46 +0000 (16:35 +0000)
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.

(From OE-Core rev: 1cc2ac769baae19b54184df5f43a3e77c1743c29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb

index efb1cac..3051078 100644 (file)
@@ -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"