small image builder change
[openwrt.git] / openwrt / package / usbutils / Makefile
index 84502e6..8e6112c 100644 (file)
@@ -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,15 +48,15 @@ $(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
This page took 0.021907 seconds and 4 git commands to generate.