summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross.bbclass
diff options
context:
space:
mode:
authorKristian Amlie <kristian.amlie@mender.io>2017-01-25 15:46:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-31 14:43:01 +0000
commit2313a77d8474c742e1cd8cee246f6c05847dd3c6 (patch)
tree772d2c12eb7f2b705e33904d4e7d000aee1536ed /meta/classes/cross.bbclass
parent5302fb4620b8fc403ec41ca9bc863fe387dcee6c (diff)
downloadpoky-2313a77d8474c742e1cd8cee246f6c05847dd3c6.tar.gz
sstate: Make SSTATE_SCAN_CMD vars configurable using weak defaults.
For this we move them out of the python section so they can be overridden on a per-recipe basis. The motivation for this change is that not all tool chains need the path modifications provided by the command, and these will provide alternative or empty commands. The Go compiler is such an example. (From OE-Core rev: 7d2a2160336413736dd4640f5b84ba4d74bb00f5) Signed-off-by: Kristian Amlie <kristian.amlie@mender.io> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross.bbclass')
-rw-r--r--meta/classes/cross.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index ee8e150e4c..2602153a97 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -38,6 +38,10 @@ TOOLCHAIN_OPTIONS = ""
38 38
39DEPENDS_GETTEXT = "gettext-native" 39DEPENDS_GETTEXT = "gettext-native"
40 40
41# This class encodes staging paths into its scripts data so can only be
42# reused if we manipulate the paths.
43SSTATE_SCAN_CMD ?= "${SSTATE_SCAN_CMD_NATIVE}"
44
41# Path mangling needed by the cross packaging 45# Path mangling needed by the cross packaging
42# Note that we use := here to ensure that libdir and includedir are 46# Note that we use := here to ensure that libdir and includedir are
43# target paths. 47# target paths.