aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2009-04-18 12:59:58 +0000
committerutx@penguin.cz <utx@penguin.cz>2009-04-18 12:59:58 +0000
commitf06fc1880b1cd1925116916b7949c2032a15a4d0 (patch)
tree38af4f5f3de8ff499142bddedefb4e5267204270 /classes
parent279420fa8c2589fdda8184ff391a613a567f0245 (diff)
downloadopenembedded-f06fc1880b1cd1925116916b7949c2032a15a4d0.tar.gz
openembedded-f06fc1880b1cd1925116916b7949c2032a15a4d0.tar.bz2
openembedded-f06fc1880b1cd1925116916b7949c2032a15a4d0.zip
autotools.bbclass, distutils-common-base.bbclass, bitbake.conf: Fully support datadir/pkgconfig...
* http://lists.linuxtogo.org/pipermail/openembedded-devel/2009-April/009963.html
Diffstat (limited to 'classes')
-rw-r--r--classes/autotools.bbclass4
-rw-r--r--classes/distutils-common-base.bbclass1
2 files changed, 5 insertions, 0 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index 20f371a987..e43b289c56 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -231,6 +231,10 @@ autotools_stage_all() {
echo "cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/"
cp -f ${STAGE_TEMP}/${libdir}/pkgconfig/*.pc ${STAGING_LIBDIR}/pkgconfig/
fi
+ if [ -e ${STAGE_TEMP}/${datadir}/pkgconfig/ ] ; then
+ echo "cp -f ${STAGE_TEMP}/${datadir}/pkgconfig/*.pc ${STAGING_DATADIR}/pkgconfig/"
+ cp -f ${STAGE_TEMP}/${datadir}/pkgconfig/*.pc ${STAGING_DATADIR}/pkgconfig/
+ fi
fi
rm -rf ${STAGE_TEMP}/${mandir} || true
rm -rf ${STAGE_TEMP}/${infodir} || true
diff --git a/classes/distutils-common-base.bbclass b/classes/distutils-common-base.bbclass
index 068eac4de8..9ca392b84a 100644
--- a/classes/distutils-common-base.bbclass
+++ b/classes/distutils-common-base.bbclass
@@ -17,6 +17,7 @@ PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
FILES_${PN}-dev += "\
+ ${datadir}/pkgconfig \
${libdir}/pkgconfig \
${libdir}/${PYTHON_DIR}/site-packages/*.la \
"