summaryrefslogtreecommitdiff
path: root/meta/classes/lib_package.bbclass
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-06-06 01:16:39 -0700
committerSaul Wold <sgw@linux.intel.com>2012-06-19 21:59:49 -0700
commit7acdd6177fda4643d2f04f45eb7490e45a3d491e (patch)
treea8914e60a41613748c708449ed63ecd8e6bc11d3 /meta/classes/lib_package.bbclass
parentcb43d97988475646074c53a264f563bf0cb2907a (diff)
downloadopenembedded-core-7acdd6177fda4643d2f04f45eb7490e45a3d491e.tar.gz
openembedded-core-7acdd6177fda4643d2f04f45eb7490e45a3d491e.tar.bz2
openembedded-core-7acdd6177fda4643d2f04f45eb7490e45a3d491e.zip
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 Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/lib_package.bbclass')
-rw-r--r--meta/classes/lib_package.bbclass14
1 files changed, 7 insertions, 7 deletions
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/*"