mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 16:59:21 +02:00
Fix uninstall-dev: remove libusb-config lib, remove all libusb-* shared libs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1039 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
613b92a4f5
commit
9bca75a757
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user