Tweak package build
[openwrt.git] / openwrt / package / fuse / Makefile
index 4e228b3..9ddd2ab 100644 (file)
@@ -59,15 +59,15 @@ $(PKG_BUILD_DIR)/.configured:
                  --disable-auto-modprobe \
                  --with-kernel=$(LINUX_DIR) \
        );
-       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_KMOD_FUSE):
        mkdir -p $(IDIR_KMOD_FUSE)/lib/modules/$(LINUX_VERSION)
This page took 0.02477 seconds and 4 git commands to generate.