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/packages/libusb | |
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/packages/libusb')
-rw-r--r-- | meta/packages/libusb/libusb_0.1.10a.bb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |