X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4fcfece750c865e9026b7fc464f748333a4121af..27e5eea2d52b43ea885f8f1103d519131fb70b58:/openwrt/package/usbutils/Makefile diff --git a/openwrt/package/usbutils/Makefile b/openwrt/package/usbutils/Makefile index 84502e66a..5ce35bcfb 100644 --- a/openwrt/package/usbutils/Makefile +++ b/openwrt/package/usbutils/Makefile @@ -3,9 +3,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=usbutils -PKG_VERSION:=0.70 +PKG_VERSION:=0.71 PKG_RELEASE:=1 -PKG_MD5SUM:=05276dc307a0297904bc892e9998bf59 +PKG_MD5SUM:=479d7c7098ef44cc95e7978fd71c712c PKG_SOURCE_URL:=@SF/linux-usb PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -48,20 +48,20 @@ $(PKG_BUILD_DIR)/.configured: --enable-shared \ --disable-static \ ); - touch $(PKG_BUILD_DIR)/.configured + touch $@ $(PKG_BUILD_DIR)/.built: - $(MAKE) -C $(PKG_BUILD_DIR) + rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ DESTDIR="$(PKG_INSTALL_DIR)" \ - install - touch $(PKG_BUILD_DIR)/.built + all install + touch $@ $(IPKG_LSUSB): install -d -m0755 $(IDIR_LSUSB)/usr/share - cp -fpR $(PKG_INSTALL_DIR)/usr/share/usb.ids $(IDIR_LSUSB)/usr/share/ + $(CP) $(PKG_INSTALL_DIR)/usr/share/usb.ids $(IDIR_LSUSB)/usr/share/ install -d -m0755 $(IDIR_LSUSB)/usr/sbin - cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(IDIR_LSUSB)/usr/sbin/ + $(CP) $(PKG_INSTALL_DIR)/usr/sbin/lsusb $(IDIR_LSUSB)/usr/sbin/ $(RSTRIP) $(IDIR_LSUSB) $(IPKG_BUILD) $(IDIR_LSUSB) $(PACKAGE_DIR)