[oe-commits] org.oe.dev bitbake.conf: Merge in section and dependency setting for -dbg and -dev packages (from poky). Start to allow multiple entries in PKG_CONFIG_PATH (from poky)

rpurdie commit openembedded-commits at lists.openembedded.org
Wed Aug 8 22:10:19 UTC 2007


bitbake.conf: Merge in section and dependency setting for -dbg and -dev packages (from poky). Start to allow multiple entries in PKG_CONFIG_PATH (from poky)

Author: rpurdie at openembedded.org
Branch: org.openembedded.dev
Revision: 5866a5399a92414f792af27cbe2268aa2cbd6d02
ViewMTN: http://monotone.openembedded.org/revision.psp?id=5866a5399a92414f792af27cbe2268aa2cbd6d02
Files:
1
conf/bitbake.conf
Diffs:

#
# mt diff -r846702a83117f9be37751d88c1620641d3e6be5d -r5866a5399a92414f792af27cbe2268aa2cbd6d02
#
# 
# 
# patch "conf/bitbake.conf"
#  from [d7da259bfd8ea8f8052f4258ba7b9c6e58a864ef]
#    to [b185da507a3c374b9fdc2dda0edafa17db3c8fcd]
# 
============================================================
--- conf/bitbake.conf	d7da259bfd8ea8f8052f4258ba7b9c6e58a864ef
+++ conf/bitbake.conf	b185da507a3c374b9fdc2dda0edafa17db3c8fcd
@@ -110,24 +110,34 @@ FILES = ""
 
 PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-locale"
 FILES = ""
+
 FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \
             ${sysconfdir} ${sharedstatedir} ${localstatedir} \
             /bin/* /sbin/* /lib/*.so* ${datadir}/${PN} ${libdir}/${PN}/* \
             ${datadir}/pixmaps ${datadir}/applications \
             ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
             ${libdir}/bonobo/servers"
-SECTION_${PN}-doc = "doc"
+
 FILES_${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \
             ${datadir}/gnome/help"
-SECTION_${PN}-dev = "devel"
+SECTION_${PN}-doc = "doc"
+
 FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \
                 ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \
                 /lib/*.a /lib/*.o ${datadir}/aclocal"
-FILES_${PN}-locale = "${datadir}/locale"
+SECTION_${PN}-dev = "devel"
+ALLOW_EMPTY_${PN}-dev = "1"
+RDEPENDS_${PN}-dev = "${@['', '${PN} (>= ${PV})'][packaged(bb.data.getVar('PN', d, 1), d) == True]}"
+
 FILES_${PN}-dbg = "${bindir}/.debug ${sbindir}/.debug ${libexecdir}/.debug ${libdir}/.debug \
             /bin/.debug /sbin/.debug /lib/.debug ${libdir}/${PN}/.debug \
 	    ${libdir}/matchbox-panel/.debug"
+SECTION_${PN}-dbg = "devel"
+ALLOW_EMPTY_${PN}-dbg = "1"
+RRECOMMENDS_${PN}-dbg = "${@['', '${PN} (>= ${PV})'][packaged(bb.data.getVar('PN', d, 1), d) == True]}"
 
+FILES_${PN}-locale = "${datadir}/locale"
+
 # File manifest
 
 export MANIFEST = "${FILESDIR}/manifest"
@@ -414,7 +424,8 @@ SLOT = "0"
 
 # Other
 
-export PKG_CONFIG_PATH = "${STAGING_LIBDIR}/pkgconfig"
+export PKG_CONFIG_DIR = "${STAGING_LIBDIR}/pkgconfig"
+export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}"
 export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
 
 export QMAKE_MKSPEC_PATH = "${STAGING_DIR}/${BUILD_SYS}/share/qmake"






More information about the Openembedded-commits mailing list