Fix uninstall-dev: remove libusb-config lib, remove all libusb-* shared libs
SVN-Revision: 1039
This commit is contained in:
parent
7c7d2568df
commit
6d555f7cc6
1 changed files with 5 additions and 3 deletions
|
@ -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/
|
cp -fpR $(PKG_INSTALL_DIR)/usr/include/usb.h $(STAGING_DIR)/usr/include/
|
||||||
mkdir -p $(STAGING_DIR)/usr/lib
|
mkdir -p $(STAGING_DIR)/usr/lib
|
||||||
cp -fpR $(PKG_INSTALL_DIR)/usr/lib/libusb*.{a,so*} $(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
|
install-dev: $(STAGING_DIR)/usr/lib/libusb.so
|
||||||
|
|
||||||
uninstall-dev:
|
uninstall-dev:
|
||||||
rm -rf $(STAGING_DIR)/usr/include/usb.h
|
rm -rf \
|
||||||
rm -rf $(STAGING_DIR)/usr/lib/libusb.{a,so*}
|
$(STAGING_DIR)/usr/bin/libusb-config \
|
||||||
|
$(STAGING_DIR)/usr/include/usb.h \
|
||||||
|
$(STAGING_DIR)/usr/lib/libusb*.{a,so*} \
|
||||||
|
|
||||||
compile: install-dev
|
compile: install-dev
|
||||||
clean: uninstall-dev
|
clean: uninstall-dev
|
||||||
|
|
Loading…
Reference in a new issue