1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 13:09:50 +00:00

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>
This commit is contained in:
Constantin Musca
2012-12-14 18:20:04 +02:00
committed by Richard Purdie
parent f144a9744d
commit 07ac3e1537
+10 -6
View File
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://psplash.h;beginline=1;endline=16;md5=840fb2356b10a85b
SRCREV = "de9979aefbc56af59b4d236a4b63dd19dcdcfb53" SRCREV = "de9979aefbc56af59b4d236a4b63dd19dcdcfb53"
PV = "0.1+git${SRCPV}" PV = "0.1+git${SRCPV}"
PR = "r5" PR = "r6"
SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \ SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \
file://psplash-init \ file://psplash-init \
@@ -50,13 +50,17 @@ python __anonymous() {
d.appendVar("DEPENDS", " gdk-pixbuf-native") d.appendVar("DEPENDS", " gdk-pixbuf-native")
d.prependVar("PACKAGES", "%s " % (" ".join(pkgs))) d.prependVar("PACKAGES", "%s " % (" ".join(pkgs)))
mlprefix = d.getVar('MLPREFIX', True) or ''
pn = d.getVar('PN', True) or ''
for p in pkgs: for p in pkgs:
d.setVar("FILES_%s" % p, "${bindir}/%s" % p) ep = '%s%s' % (mlprefix, p)
d.setVar("ALTERNATIVE_%s" % p, 'psplash') epsplash = '%s%s' % (mlprefix, 'psplash')
d.setVarFlag("ALTERNATIVE_TARGET_%s" % p, 'psplash', '${bindir}/%s' % p) d.setVar("FILES_%s" % ep, "${bindir}/%s" % p)
d.appendVar("RDEPENDS_%s" % p, " ${PN}") d.setVar("ALTERNATIVE_%s" % ep, epsplash)
d.setVarFlag("ALTERNATIVE_TARGET_%s" % ep, epsplash, '${bindir}/%s' % p)
d.appendVar("RDEPENDS_%s" % ep, " %s" % pn)
if p == "psplash-default": if p == "psplash-default":
d.appendVar("RRECOMMENDS_${PN}", " %s" % p) d.appendVar("RRECOMMENDS_%s" % pn, " %s" % ep)
} }
S = "${WORKDIR}/git" S = "${WORKDIR}/git"