Fix an bitbake RDEPENDS bug and add a hack to work around quilt-native issues (the alternative is to start creating a load of native packages to map the runtime depends to build time ones).
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@275 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
a677585646
commit
d0bf2b3192
|
@ -655,6 +655,7 @@ class BBCooker:
|
||||||
if (item == pn):
|
if (item == pn):
|
||||||
rdepends += bb.utils.explode_deps(bb.data.getVar('RDEPENDS', the_data, True) or "")
|
rdepends += bb.utils.explode_deps(bb.data.getVar('RDEPENDS', the_data, True) or "")
|
||||||
rdepends += bb.utils.explode_deps(bb.data.getVar('RRECOMMENDS', the_data, True) or "")
|
rdepends += bb.utils.explode_deps(bb.data.getVar('RRECOMMENDS', the_data, True) or "")
|
||||||
|
rdepends += bb.utils.explode_deps(bb.data.getVar("RDEPENDS_%s" % pn, the_data, True) or "")
|
||||||
else:
|
else:
|
||||||
packages = (bb.data.getVar('PACKAGES', the_data, 1).split() or "")
|
packages = (bb.data.getVar('PACKAGES', the_data, 1).split() or "")
|
||||||
for package in packages:
|
for package in packages:
|
||||||
|
|
|
@ -72,7 +72,7 @@ DATETIME = "${DATE}${TIME}"
|
||||||
|
|
||||||
# python-native should be here but python relies on building
|
# python-native should be here but python relies on building
|
||||||
# its own in staging
|
# its own in staging
|
||||||
ASSUME_PROVIDED = "cvs-native svn-native"
|
ASSUME_PROVIDED = "cvs-native svn-native bzip2-native patch-native diffstat-native"
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Package default variables.
|
# Package default variables.
|
||||||
|
|
|
@ -14,6 +14,9 @@ PATCHCLEANCMD = ""
|
||||||
PATCHCMD = "num='%s'; name='%s'; file='%s'; patch -p "$num" -i "$file""
|
PATCHCMD = "num='%s'; name='%s'; file='%s'; patch -p "$num" -i "$file""
|
||||||
EXTRA_OECONF = "--disable-nls"
|
EXTRA_OECONF = "--disable-nls"
|
||||||
|
|
||||||
|
#RDEPENDS_${PN} = "patch-native diffstat-native bzip2-native"
|
||||||
|
RDEPENDS_${PN} = ""
|
||||||
|
|
||||||
do_configure () {
|
do_configure () {
|
||||||
chmod 755 configure
|
chmod 755 configure
|
||||||
oe_runconf
|
oe_runconf
|
||||||
|
|
Loading…
Reference in New Issue