summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/setserial/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/setserial/Makefile b/package/setserial/Makefile
index a4f84f9d8..5c3565a2f 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
+