summaryrefslogtreecommitdiff
path: root/package/usbutils/Makefile
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-19 21:30:44 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-19 21:30:44 +0000
commit662991ad07bf30fd3883168b9974849855dd7cef (patch)
tree21b4dd297810a8ca923d902f04b278cf1cf7d6cb /package/usbutils/Makefile
parente1689730e463183e1ebdb69ad780d3f3ae2b4c0e (diff)
Tweak package build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@978 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/usbutils/Makefile')
-rw-r--r--package/usbutils/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/usbutils/Makefile b/package/usbutils/Makefile
index 84502e66a7..02f9d440b9 100644
--- a/package/usbutils/Makefile
+++ b/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