diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/populate_sdk_base.bbclass | 7 |
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 | ||
117 | python () { | 117 | python () { |
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 | ||
325 | do_populate_sdk[vardeps] += "${@sdk_variables(d)}" | 325 | do_populate_sdk[vardeps] += "${@sdk_variables(d)}" |
326 | 326 | ||
327 | python () { | ||
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 | |||
327 | do_populate_sdk[file-checksums] += "${TOOLCHAIN_SHAR_REL_TMPL}:True \ | 334 | do_populate_sdk[file-checksums] += "${TOOLCHAIN_SHAR_REL_TMPL}:True \ |
328 | ${TOOLCHAIN_SHAR_EXT_TMPL}:True" | 335 | ${TOOLCHAIN_SHAR_EXT_TMPL}:True" |
329 | 336 | ||