diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-12-31 22:31:24 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2006-12-31 22:31:24 +0000 |
commit | 9bd213b23e9095cc0aa94952cc345a110a5cdc40 (patch) | |
tree | 4f862fbb29bc438fe7f45f679934a4ec0b91a436 /packages/libusb/libusb_0.1.12.bb | |
parent | bbd81bb3d973f809636c55c56bdc5b6ec863bfa0 (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.12.bb')
-rw-r--r-- | packages/libusb/libusb_0.1.12.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/libusb/libusb_0.1.12.bb b/packages/libusb/libusb_0.1.12.bb index fea8e57ccf..a2b80ecb6d 100644 --- a/packages/libusb/libusb_0.1.12.bb +++ b/packages/libusb/libusb_0.1.12.bb @@ -22,6 +22,11 @@ do_stage() { # can we get rid of that? wouldn't a sed statement do as well? 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 |