summaryrefslogtreecommitdiff
path: root/packages/libusb/libusb_0.1.10a.bb
diff options
context:
space:
mode:
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