summaryrefslogtreecommitdiff
path: root/packages/libusb/libusb_0.1.10a.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2006-12-31 22:31:24 +0000
committerRichard Purdie <rpurdie@rpsys.net>2006-12-31 22:31:24 +0000
commit9bd213b23e9095cc0aa94952cc345a110a5cdc40 (patch)
tree4f862fbb29bc438fe7f45f679934a4ec0b91a436 /packages/libusb/libusb_0.1.10a.bb
parentbbd81bb3d973f809636c55c56bdc5b6ec863bfa0 (diff)
Split STAGING_BINDIR into CROSS and NATIVE versions. This means there is no need to rename -config scripts and multimachine won't break with binconfig.bbclass. ***NOTE: This change will require staging to be rebuilt***
Diffstat (limited to 'packages/libusb/libusb_0.1.10a.bb')
-rw-r--r--packages/libusb/libusb_0.1.10a.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/libusb/libusb_0.1.10a.bb b/packages/libusb/libusb_0.1.10a.bb
index a62d9ae83e..8648f96571 100644
--- a/packages/libusb/libusb_0.1.10a.bb
+++ b/packages/libusb/libusb_0.1.10a.bb
@@ -22,6 +22,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