X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/5a3b4b79768c8b63e5516e9acad78b3f696e23d3..3b31101808fa0be3b307e5195206384dbbb1c360:/package/strace/Makefile diff --git a/package/strace/Makefile b/package/strace/Makefile index 9a4137aae..d356f918a 100644 --- a/package/strace/Makefile +++ b/package/strace/Makefile @@ -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) \ @@ -53,6 +53,10 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_STRACE): mkdir -p $(IDIR_STRACE)/usr/sbin - cp $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_STRACE)/usr/sbin/ + $(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