diff options
author | Richard Purdie <richard@openedhand.com> | 2006-12-14 13:34:20 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-12-14 13:34:20 +0000 |
commit | 6c2f9c0feef56cfc703907db32b2c52ef1631c1c (patch) | |
tree | 2d1a7dc40573bb0f56ebe0e3810f855391ca8a57 /meta | |
parent | 825a17ea1af025d6c81abfc7c7d53f378230c613 (diff) | |
download | openembedded-core-6c2f9c0feef56cfc703907db32b2c52ef1631c1c.tar.gz openembedded-core-6c2f9c0feef56cfc703907db32b2c52ef1631c1c.tar.bz2 openembedded-core-6c2f9c0feef56cfc703907db32b2c52ef1631c1c.zip |
Various libs: Convert to use STAGING_BINDIR_CROSS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1038 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/libgcrypt/libgcrypt_1.2.1.bb | 2 | ||||
-rw-r--r-- | meta/packages/libgcrypt/libgcrypt_1.2.3.bb | 2 | ||||
-rw-r--r-- | meta/packages/libidl/libidl_0.8.3.bb | 4 | ||||
-rw-r--r-- | meta/packages/libtool/libtool-cross_1.5.10.bb | 1 | ||||
-rw-r--r-- | meta/packages/libusb/libusb_0.1.10a.bb | 5 | ||||
-rw-r--r-- | meta/packages/libxml/libxml2_2.6.22.bb | 4 |
6 files changed, 14 insertions, 4 deletions
diff --git a/meta/packages/libgcrypt/libgcrypt_1.2.1.bb b/meta/packages/libgcrypt/libgcrypt_1.2.1.bb index e797ee75c7..3f4942cae5 100644 --- a/meta/packages/libgcrypt/libgcrypt_1.2.1.bb +++ b/meta/packages/libgcrypt/libgcrypt_1.2.1.bb @@ -17,7 +17,7 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities" do_stage() { oe_libinstall -so -C src libgcrypt ${STAGING_LIBDIR} oe_libinstall -so -C src libgcrypt-pthread ${STAGING_LIBDIR} - install -m 0755 src/libgcrypt-config ${STAGING_BINDIR}/ + install -m 0755 src/libgcrypt-config ${STAGING_BINDIR_CROSS}/ install -d ${STAGING_INCDIR}/ for X in gcrypt.h gcrypt-module.h diff --git a/meta/packages/libgcrypt/libgcrypt_1.2.3.bb b/meta/packages/libgcrypt/libgcrypt_1.2.3.bb index e797ee75c7..3f4942cae5 100644 --- a/meta/packages/libgcrypt/libgcrypt_1.2.3.bb +++ b/meta/packages/libgcrypt/libgcrypt_1.2.3.bb @@ -17,7 +17,7 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities" do_stage() { oe_libinstall -so -C src libgcrypt ${STAGING_LIBDIR} oe_libinstall -so -C src libgcrypt-pthread ${STAGING_LIBDIR} - install -m 0755 src/libgcrypt-config ${STAGING_BINDIR}/ + install -m 0755 src/libgcrypt-config ${STAGING_BINDIR_CROSS}/ install -d ${STAGING_INCDIR}/ for X in gcrypt.h gcrypt-module.h diff --git a/meta/packages/libidl/libidl_0.8.3.bb b/meta/packages/libidl/libidl_0.8.3.bb index e743247390..fdce4ba186 100644 --- a/meta/packages/libidl/libidl_0.8.3.bb +++ b/meta/packages/libidl/libidl_0.8.3.bb @@ -23,6 +23,10 @@ do_stage() { cp ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR}/libIDL-config-2.orig cat ${STAGING_BINDIR}/libIDL-config-2.orig | sed -e 's:${includedir}:${STAGING_INCDIR}:' > ${STAGING_BINDIR}/libIDL-config-2 + + if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then + mv ${STAGING_BINDIR}/libIDL-config-2 ${STAGING_BINDIR_CROSS}/libIDL-config-2 + fi } FILES_${PN} = "${libdir}/*.so.*" diff --git a/meta/packages/libtool/libtool-cross_1.5.10.bb b/meta/packages/libtool/libtool-cross_1.5.10.bb index 81a4990d28..fdc8f6ffaf 100644 --- a/meta/packages/libtool/libtool-cross_1.5.10.bb +++ b/meta/packages/libtool/libtool-cross_1.5.10.bb @@ -13,6 +13,7 @@ S = "${WORKDIR}/libtool-${PV}" prefix = "${STAGING_DIR}" exec_prefix = "${prefix}/${BUILD_SYS}" +bindir = "${STAGING_BINDIR_NATIVE}" do_compile () { : diff --git a/meta/packages/libusb/libusb_0.1.10a.bb b/meta/packages/libusb/libusb_0.1.10a.bb index 298eb5ee7f..3054d9230d 100644 --- a/meta/packages/libusb/libusb_0.1.10a.bb +++ b/meta/packages/libusb/libusb_0.1.10a.bb @@ -20,6 +20,11 @@ do_stage() { install -m 755 ${S}/libusb-config ${STAGING_BINDIR} perl -pi -e 's:\-L${libdir} :-L${STAGING_LIBDIR} :' ${STAGING_BINDIR}/libusb-config + if [ "${STAGING_BINDIR}" != "${STAGING_BINDIR_CROSS}" ]; then + install -d ${STAGING_BINDIR_CROSS}/ + mv ${STAGING_BINDIR}/libusb-config ${STAGING_BINDIR_CROSS}/libusb-config + fi + install -d ${STAGING_INCDIR}/ for X in usb.h do diff --git a/meta/packages/libxml/libxml2_2.6.22.bb b/meta/packages/libxml/libxml2_2.6.22.bb index f29501040d..499b9beb63 100644 --- a/meta/packages/libxml/libxml2_2.6.22.bb +++ b/meta/packages/libxml/libxml2_2.6.22.bb @@ -27,8 +27,8 @@ do_stage () { cat xml2-config | sed -e "s,^prefix=.*,prefix=${STAGING_BINDIR}/..," \ -e "s,^exec_prefix=.*,exec_prefix=${STAGING_BINDIR}/..," \ -e "s,^includedir=.*,includedir=${STAGING_INCDIR}," \ - -e "s,^libdir=.*,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR}/xml2-config - chmod a+rx ${STAGING_BINDIR}/xml2-config + -e "s,^libdir=.*,libdir=${STAGING_LIBDIR}," > ${STAGING_BINDIR_CROSS}/xml2-config + chmod a+rx ${STAGING_BINDIR_CROSS}/xml2-config install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/ } |