diff options
author | Constantin Musca <constantinx.musca@intel.com> | 2012-12-14 18:20:04 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-19 17:54:59 +0000 |
commit | 07ac3e153756d2799e7756104f38b44f2cc741ea (patch) | |
tree | 1e024065d34c1fcb8d7a551b018cea078ffc575f /meta | |
parent | f144a9744dd01a8d25ef77ce5eaca1bb637d0f1c (diff) | |
download | poky-07ac3e153756d2799e7756104f38b44f2cc741ea.tar.gz |
psplash: enable multilib
[YOCTO #3438]
(From OE-Core rev: e1df16187f809c4a47480dc7ff6882f06624dedb)
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/psplash/psplash_git.bb | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/meta/recipes-core/psplash/psplash_git.bb b/meta/recipes-core/psplash/psplash_git.bb index 7c033e7d2d..9bdcb379c1 100644 --- a/meta/recipes-core/psplash/psplash_git.bb +++ b/meta/recipes-core/psplash/psplash_git.bb | |||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://psplash.h;beginline=1;endline=16;md5=840fb2356b10a85b | |||
7 | 7 | ||
8 | SRCREV = "de9979aefbc56af59b4d236a4b63dd19dcdcfb53" | 8 | SRCREV = "de9979aefbc56af59b4d236a4b63dd19dcdcfb53" |
9 | PV = "0.1+git${SRCPV}" | 9 | PV = "0.1+git${SRCPV}" |
10 | PR = "r5" | 10 | PR = "r6" |
11 | 11 | ||
12 | SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \ | 12 | SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \ |
13 | file://psplash-init \ | 13 | file://psplash-init \ |
@@ -50,13 +50,17 @@ python __anonymous() { | |||
50 | d.appendVar("DEPENDS", " gdk-pixbuf-native") | 50 | d.appendVar("DEPENDS", " gdk-pixbuf-native") |
51 | 51 | ||
52 | d.prependVar("PACKAGES", "%s " % (" ".join(pkgs))) | 52 | d.prependVar("PACKAGES", "%s " % (" ".join(pkgs))) |
53 | mlprefix = d.getVar('MLPREFIX', True) or '' | ||
54 | pn = d.getVar('PN', True) or '' | ||
53 | for p in pkgs: | 55 | for p in pkgs: |
54 | d.setVar("FILES_%s" % p, "${bindir}/%s" % p) | 56 | ep = '%s%s' % (mlprefix, p) |
55 | d.setVar("ALTERNATIVE_%s" % p, 'psplash') | 57 | epsplash = '%s%s' % (mlprefix, 'psplash') |
56 | d.setVarFlag("ALTERNATIVE_TARGET_%s" % p, 'psplash', '${bindir}/%s' % p) | 58 | d.setVar("FILES_%s" % ep, "${bindir}/%s" % p) |
57 | d.appendVar("RDEPENDS_%s" % p, " ${PN}") | 59 | d.setVar("ALTERNATIVE_%s" % ep, epsplash) |
60 | d.setVarFlag("ALTERNATIVE_TARGET_%s" % ep, epsplash, '${bindir}/%s' % p) | ||
61 | d.appendVar("RDEPENDS_%s" % ep, " %s" % pn) | ||
58 | if p == "psplash-default": | 62 | if p == "psplash-default": |
59 | d.appendVar("RRECOMMENDS_${PN}", " %s" % p) | 63 | d.appendVar("RRECOMMENDS_%s" % pn, " %s" % ep) |
60 | } | 64 | } |
61 | 65 | ||
62 | S = "${WORKDIR}/git" | 66 | S = "${WORKDIR}/git" |