summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-07-11 16:54:44 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2014-07-11 18:19:10 -0300
commitb1aa1d23c6be6588c50cb1ab8911d7b551b35163 (patch)
tree4ac573c39ef7968649cd5243cb3ccfe03de164a8
parente5dc3570072f32a2a0bdd3b438ea8e8d1c1241bb (diff)
downloadmeta-fsl-arm-b1aa1d23c6be6588c50cb1ab8911d7b551b35163.tar.gz
amd-gpu-mx51.inc: Use anonymous python function to inject metadata
The metadata amending, to include the INSANE_SKIP hacks, need to be done before we run the QA checks. This has change now that the QA checks are run in a separate task. To accomodate the code to this the recipe needed to be reworked to use an anonymous python function so it runs at parsing time. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc
index 02a4f21..f37f1d5 100644
--- a/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc
+++ b/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc
@@ -19,7 +19,7 @@ inherit fsl-eula-unpack
19 19
20# FIXME: All binaries lack GNU_HASH in elf binary but as we don't have 20# FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
21# the source we cannot fix it. Disable the insane check for now. 21# the source we cannot fix it. Disable the insane check for now.
22python populate_packages_prepend() { 22python () {
23 for p in d.getVar('PACKAGES', True).split(): 23 for p in d.getVar('PACKAGES', True).split():
24 d.setVar("INSANE_SKIP_%s" % p, "ldflags") 24 d.setVar("INSANE_SKIP_%s" % p, "ldflags")
25} 25}