diff options
author | Richard Purdie <richard@openedhand.com> | 2008-03-19 22:43:56 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-03-19 22:43:56 +0000 |
commit | 1cdaf69d922b47af366aae30425ec6fe4b800920 (patch) | |
tree | c09c49363c5b1ed37dfdd24825a8f768e665a6ae /meta/packages/db | |
parent | ce1e2f2df5b245382aa90fb37aae879faf87a570 (diff) | |
download | openembedded-core-1cdaf69d922b47af366aae30425ec6fe4b800920.tar.gz openembedded-core-1cdaf69d922b47af366aae30425ec6fe4b800920.tar.bz2 openembedded-core-1cdaf69d922b47af366aae30425ec6fe4b800920.zip |
db-native: Add custom stage function
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4082 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/db')
-rw-r--r-- | meta/packages/db/db-native_4.2.52.bb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/packages/db/db-native_4.2.52.bb b/meta/packages/db/db-native_4.2.52.bb index 5d2e294a8f..4b374e2403 100644 --- a/meta/packages/db/db-native_4.2.52.bb +++ b/meta/packages/db/db-native_4.2.52.bb @@ -10,4 +10,15 @@ require db_${PV}.bb inherit native -PACKAGES = "" +do_stage() { + # The .h files get installed read-only, the autostage + # function just uses cp -pPR, so do this by hand + rm -rf ${STAGE_TEMP} + mkdir -p ${STAGE_TEMP} + oe_runmake DESTDIR="${STAGE_TEMP}" install_include + cp -pPRf ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}/. + rm -rf ${STAGE_TEMP} + oe_libinstall -so -C .libs libdb-4.2 ${STAGING_LIBDIR} + ln -sf libdb-4.2.so ${STAGING_LIBDIR}/libdb.so + ln -sf libdb-4.2.a ${STAGING_LIBDIR}/libdb.a +} |