summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/psplash
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/psplash')
-rw-r--r--meta/recipes-core/psplash/psplash_git.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb
index 22c71f099b..44f0007daf 100644
--- a/meta/recipes-core/psplash/psplash_git.bb
+++ b/meta/recipes-core/psplash/psplash_git.bb
@@ -22,6 +22,7 @@ SPLASH_IMAGES = "file://psplash-poky-img.h;outsuffix=default"
22python __anonymous() { 22python __anonymous() {
23 oldpkgs = d.getVar("PACKAGES").split() 23 oldpkgs = d.getVar("PACKAGES").split()
24 splashfiles = d.getVar('SPLASH_IMAGES').split() 24 splashfiles = d.getVar('SPLASH_IMAGES').split()
25 mlprefix = d.getVar('MLPREFIX') or ''
25 pkgs = [] 26 pkgs = []
26 localpaths = [] 27 localpaths = []
27 for uri in splashfiles: 28 for uri in splashfiles:
@@ -46,9 +47,9 @@ python __anonymous() {
46 # Set these so that we have less work to do in do_compile and do_install_append 47 # Set these so that we have less work to do in do_compile and do_install_append
47 d.setVar("SPLASH_INSTALL", " ".join(pkgs)) 48 d.setVar("SPLASH_INSTALL", " ".join(pkgs))
48 d.setVar("SPLASH_LOCALPATHS", " ".join(localpaths)) 49 d.setVar("SPLASH_LOCALPATHS", " ".join(localpaths))
50 for p in pkgs:
51 d.prependVar("PACKAGES", "%s%s " % (mlprefix, p))
49 52
50 d.prependVar("PACKAGES", "%s " % (" ".join(pkgs)))
51 mlprefix = d.getVar('MLPREFIX') or ''
52 pn = d.getVar('PN') or '' 53 pn = d.getVar('PN') or ''
53 for p in pkgs: 54 for p in pkgs:
54 ep = '%s%s' % (mlprefix, p) 55 ep = '%s%s' % (mlprefix, p)