summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-20 09:35:33 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-09-20 09:35:33 +0000
commitd2a1d33c03c7400c3f28224f6e9df5b08d3592f8 (patch)
tree33525fbb67c9220495d7f8f03bfd31c70bf88829 /package
parentdfcab18dfa5e3a2637cf14952a0cf620627506ba (diff)
downloadbuildroot-novena-d2a1d33c03c7400c3f28224f6e9df5b08d3592f8.tar.gz
buildroot-novena-d2a1d33c03c7400c3f28224f6e9df5b08d3592f8.zip
- fix source location of libusb libs
Diffstat (limited to 'package')
-rw-r--r--package/libusb/libusb.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk
index 7675f23d3..4e06dc883 100644
--- a/package/libusb/libusb.mk
+++ b/package/libusb/libusb.mk
@@ -51,9 +51,9 @@ $(STAGING_DIR)/lib/libusb.so: $(LIBUSB_DIR)/.configured
$(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install
$(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/lib/libusb.so
- mkdir -p $(TARGET_DIR)/usr/lib
- cp -dpf $(STAGING_DIR)/lib/libusb* $(TARGET_DIR)/usr/lib
- rm -f $(TARGET_DIR)/usr/lib/*.a $(TARGET_DIR)/usr/lib/*.la
+ $(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(STAGING_DIR)/usr/lib/
+ $(INSTALL) -D $(LIBUSB_DIR)/.libs/libusb*.so* $(TARGET_DIR)/usr/lib/
+ $(STRIP) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libusb*.so*
libusb: uclibc $(TARGET_DIR)/$(LIBUSB_BINARY)