summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-19 00:46:07 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-02-19 00:46:07 +0000
commit06cf1607bef8a198f0430299eb316cd3e694d4d0 (patch)
tree62ead135aac8ebd4f102c8a4a55f359ee91d6220
parentf0de6a9d3f80d6ba2c75e8fa28e6abe01e2ff1ee (diff)
add mostlyclean target to setserial
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3254 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/setserial/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/setserial/Makefile b/package/setserial/Makefile
index a4f84f9d80..5c3565a2f3 100644
--- a/package/setserial/Makefile
+++ b/package/setserial/Makefile
@@ -56,3 +56,9 @@ $(IPKG_SETSERIAL):
install -m0755 $(PKG_BUILD_DIR)/setserial $(IDIR_SETSERIAL)/usr/sbin/
$(RSTRIP) $(IDIR_SETSERIAL)
$(IPKG_BUILD) $(IDIR_SETSERIAL) $(PACKAGE_DIR)
+
+mostlyclean:
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ clean
+ rm -f $(PKG_BUILD_DIR)/.built
+