Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Fix vardeps issue with SDK generation
@ 2020-02-07 17:43 Mark Hatle
  2020-02-07 17:43 ` [PATCH 1/1] populate_sdk_base: if the SDKIMAGE_FEATURES changes, refresh the SDK Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Hatle @ 2020-02-07 17:43 UTC (permalink / raw)
  To: openembedded-core

I sent this before, but I suspect it got lost in the unrelated microblaze
rework.  No changes from the prior version, just resending to make it easier
to find.

Mark Hatle (1):
  populate_sdk_base: if the SDKIMAGE_FEATURES changes, refresh the SDK

 meta/classes/populate_sdk_base.bbclass | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] populate_sdk_base: if the SDKIMAGE_FEATURES changes, refresh the SDK
  2020-02-07 17:43 [PATCH 0/1] Fix vardeps issue with SDK generation Mark Hatle
@ 2020-02-07 17:43 ` Mark Hatle
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2020-02-07 17:43 UTC (permalink / raw)
  To: openembedded-core

Since the features are processed by a python fragment, we need to explicitly
list the variables that should affect the resulting hash, and thus sstate
re-use.

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
---
 meta/classes/populate_sdk_base.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/populate_sdk_base.bbclass b/meta/classes/populate_sdk_base.bbclass
index d03465b6fc..3248bb01c3 100644
--- a/meta/classes/populate_sdk_base.bbclass
+++ b/meta/classes/populate_sdk_base.bbclass
@@ -21,6 +21,7 @@ def complementary_globs(featurevar, d):
 
 SDKIMAGE_FEATURES ??= "dev-pkgs dbg-pkgs src-pkgs ${@bb.utils.contains('DISTRO_FEATURES', 'api-documentation', 'doc-pkgs', '', d)}"
 SDKIMAGE_INSTALL_COMPLEMENTARY = '${@complementary_globs("SDKIMAGE_FEATURES", d)}'
+SDKIMAGE_INSTALL_COMPLEMENTARY[vardeps] += "SDKIMAGE_FEATURES"
 
 PACKAGE_ARCHS_append_task-populate-sdk = " sdk-provides-dummy-target"
 SDK_PACKAGE_ARCHS += "sdk-provides-dummy-${SDKPKGSUFFIX}"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-07 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-07 17:43 [PATCH 0/1] Fix vardeps issue with SDK generation Mark Hatle
2020-02-07 17:43 ` [PATCH 1/1] populate_sdk_base: if the SDKIMAGE_FEATURES changes, refresh the SDK Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox