fix building when host and target systems are same arch
[openwrt.git] / openwrt / package / strace / Makefile
index 9a4137a..000334d 100644 (file)
@@ -44,7 +44,7 @@ $(PKG_BUILD_DIR)/.configured:
                $(DISABLE_NLS) \
                $(DISABLE_LARGEFILE) \
        );
-       touch $(PKG_BUILD_DIR)/.configured
+       touch $@
 
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
@@ -56,3 +56,7 @@ $(IPKG_STRACE):
        cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_STRACE)/usr/sbin/
        $(STRIP) $(IDIR_STRACE)/usr/sbin/*
        $(IPKG_BUILD) $(IDIR_STRACE) $(PACKAGE_DIR)
+
+mostlyclean:
+       $(MAKE) -C $(PKG_BUILD_DIR) clean
+       rm -f $(PKG_BUILD_DIR)/.built
This page took 0.027371 seconds and 4 git commands to generate.