summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image.bbclass2
-rw-r--r--meta/classes/populate_sdk_base.bbclass7
2 files changed, 8 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 42d2886505..79c487ea18 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -115,7 +115,7 @@ def rootfs_command_variables(d):
115 'IMAGE_PREPROCESS_COMMAND','RPM_PREPROCESS_COMMANDS','RPM_POSTPROCESS_COMMANDS','DEB_PREPROCESS_COMMANDS','DEB_POSTPROCESS_COMMANDS'] 115 'IMAGE_PREPROCESS_COMMAND','RPM_PREPROCESS_COMMANDS','RPM_POSTPROCESS_COMMANDS','DEB_PREPROCESS_COMMANDS','DEB_POSTPROCESS_COMMANDS']
116 116
117python () { 117python () {
118 variables = rootfs_command_variables(d) + sdk_command_variables(d) 118 variables = rootfs_command_variables(d)
119 for var in variables: 119 for var in variables:
120 if d.getVar(var, False): 120 if d.getVar(var, False):
121 d.setVarFlag(var, 'func', '1') 121 d.setVarFlag(var, 'func', '1')
diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index 6954237596..ca56d803cb 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -324,6 +324,13 @@ def sdk_variables(d):
324 324
325do_populate_sdk[vardeps] += "${@sdk_variables(d)}" 325do_populate_sdk[vardeps] += "${@sdk_variables(d)}"
326 326
327python () {
328 variables = sdk_command_variables(d)
329 for var in variables:
330 if d.getVar(var, False):
331 d.setVarFlag(var, 'func', '1')
332}
333
327do_populate_sdk[file-checksums] += "${TOOLCHAIN_SHAR_REL_TMPL}:True \ 334do_populate_sdk[file-checksums] += "${TOOLCHAIN_SHAR_REL_TMPL}:True \
328 ${TOOLCHAIN_SHAR_EXT_TMPL}:True" 335 ${TOOLCHAIN_SHAR_EXT_TMPL}:True"
329 336