]> code.ossystems Code Review - openembedded-core.git/commitdiff
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:27 +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.

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

index efb1cac4c66362bfbbbf4a1f98beacec2e8e9757..305107865db24415e925fb4646a5c0a3c2b729c0 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"