From fd259b8894880da2dd4c5bb68386e13b2323cc8e Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Wed, 6 Jun 2012 01:16:39 -0700 Subject: bitbake.conf: add PN-bin and cleanup lib_package.bbclass Since we now have PN as the end of the package list, we can almost get rid of lib_package, each recipe can just add PACKAGES =+ PN-bin instead of the inherit (From OE-Core rev: 7acdd6177fda4643d2f04f45eb7490e45a3d491e) Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/classes/lib_package.bbclass | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'meta/classes/lib_package.bbclass') diff --git a/meta/classes/lib_package.bbclass b/meta/classes/lib_package.bbclass index 9843ed9f4c..1f0542a4ca 100644 --- a/meta/classes/lib_package.bbclass +++ b/meta/classes/lib_package.bbclass @@ -1,8 +1,8 @@ -PACKAGES =+ "${PN}-bin" +# +# ${PN}-bin is defined in bitbake.conf +# +# We need to allow the other packages to be greedy with what they +# want out of /bin and /usr/bin before ${PN}-bin gets greedy. +# +PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PN}-bin ${PN}" -FILES_${PN} = "${libexecdir} ${libdir}/lib*${SOLIBS} \ - ${sysconfdir} ${sharedstatedir} ${localstatedir} \ - ${base_libdir}/*${SOLIBS} \ - ${datadir}/${BPN} ${libdir}/${BPN}" - -FILES_${PN}-bin = "${bindir}/* ${sbindir}/* /bin/* /sbin/*" -- cgit v1.2.3-54-g00ecf