summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-24 00:44:43 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-24 00:44:43 +0000
commit6d555f7cc6fb12387a5fff090f0e12e6c4993c1d (patch)
treec960b35992f740216e8ac0468c875696e352f8d6
parent7c7d2568dfa6d1ad5817d55b5d0ad95e2a8b6211 (diff)
downloadmtk-20170518-6d555f7cc6fb12387a5fff090f0e12e6c4993c1d.zip
mtk-20170518-6d555f7cc6fb12387a5fff090f0e12e6c4993c1d.tar.gz
mtk-20170518-6d555f7cc6fb12387a5fff090f0e12e6c4993c1d.tar.bz2
Fix uninstall-dev: remove libusb-config lib, remove all libusb-* shared libs
SVN-Revision: 1039
-rw-r--r--openwrt/package/libusb/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/openwrt/package/libusb/Makefile b/openwrt/package/libusb/Makefile
index 9420cb6..8d22a43 100644
--- a/openwrt/package/libusb/Makefile
+++ b/openwrt/package/libusb/Makefile
@@ -72,13 +72,15 @@ $(STAGING_DIR)/usr/lib/libusb.so: $(PKG_BUILD_DIR)/.libs/libusb.so
cp -fpR $(PKG_INSTALL_DIR)/usr/include/usb.h $(STAGING_DIR)/usr/include/
mkdir -p $(STAGING_DIR)/usr/lib
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libusb*.{a,so*} $(STAGING_DIR)/usr/lib/
- touch $(STAGING_DIR)/usr/lib/libusb.so
+ touch $@
install-dev: $(STAGING_DIR)/usr/lib/libusb.so
uninstall-dev:
- rm -rf $(STAGING_DIR)/usr/include/usb.h
- rm -rf $(STAGING_DIR)/usr/lib/libusb.{a,so*}
+ rm -rf \
+ $(STAGING_DIR)/usr/bin/libusb-config \
+ $(STAGING_DIR)/usr/include/usb.h \
+ $(STAGING_DIR)/usr/lib/libusb*.{a,so*} \
compile: install-dev
clean: uninstall-dev