[oe-commits] org.oe.dev bitbake.conf: Unconditionally set RDEPENDS for -dev package and RRECOMMENDS for -dbg package.

rpurdie commit openembedded-commits at lists.openembedded.org
Sun Feb 24 00:08:14 UTC 2008


bitbake.conf: Unconditionally set RDEPENDS for -dev package and RRECOMMENDS for -dbg package.

This is important since these packages should always exist. If they don't, depchains functionality falls apart and its impossible to pull in all the dependencies to build X or debug Y. This check also causes a significant performance hit when parsing.

Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: c6d6b852ce9eeb3cebe0f59ba8a51f62af742d26
ViewMTN: http://monotone.openembedded.org/revision/info/c6d6b852ce9eeb3cebe0f59ba8a51f62af742d26
Files:
1
conf/bitbake.conf
Diffs:

#
# mt diff -rf032ab12e4e27a7a9ba280e2f18811efd9fae4c9 -rc6d6b852ce9eeb3cebe0f59ba8a51f62af742d26
#
# 
# 
# patch "conf/bitbake.conf"
#  from [20411cfe48d828effd31bc1b225638aa75828191]
#    to [ea1e16116ff065e62f58aa7bb32a1757f5aa0695]
# 
============================================================
--- conf/bitbake.conf	20411cfe48d828effd31bc1b225638aa75828191
+++ conf/bitbake.conf	ea1e16116ff065e62f58aa7bb32a1757f5aa0695
@@ -176,14 +176,14 @@ ALLOW_EMPTY_${PN}-dev = "1"
                 ${base_libdir}/*.a ${base_libdir}/*.o ${datadir}/aclocal"
 SECTION_${PN}-dev = "devel"
 ALLOW_EMPTY_${PN}-dev = "1"
-RDEPENDS_${PN}-dev = "${@['', '${PN} (= ${DEBPV})'][packaged(bb.data.getVar('PN', d, 1), d) == True]}"
+RDEPENDS_${PN}-dev = "${PN} (= ${DEBPV})"
 
 FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \
             ${base_bindir}/.debug ${base_sbindir}/.debug ${base_libdir}/.debug ${libdir}/${PN}/.debug \
             ${libdir}/matchbox-panel/.debug"
 SECTION_${PN}-dbg = "devel"
 ALLOW_EMPTY_${PN}-dbg = "1"
-RRECOMMENDS_${PN}-dbg = "${@['', '${PN} (= ${DEBPV})'][packaged(bb.data.getVar('PN', d, 1), d) == True]}"
+RRECOMMENDS_${PN}-dbg = "${PN} (= ${DEBPV})"
 
 FILES_${PN}-locale = "${datadir}/locale"
 






More information about the Openembedded-commits mailing list