summaryrefslogtreecommitdiff
path: root/openwrt/package/usbutils
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/usbutils')
-rw-r--r--openwrt/package/usbutils/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/package/usbutils/Makefile b/openwrt/package/usbutils/Makefile
index 84502e66a7..02f9d440b9 100644
--- a/openwrt/package/usbutils/Makefile
+++ b/openwrt/package/usbutils/Makefile
@@ -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