add mostlyclean target to setserial
authorFelix Fietkau <nbd@openwrt.org>
Sun, 19 Feb 2006 00:46:07 +0000 (00:46 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 19 Feb 2006 00:46:07 +0000 (00:46 +0000)
SVN-Revision: 3254

openwrt/package/setserial/Makefile

index a4f84f9d8015bbe56e6f8472e6c2d41d8c23539a..5c3565a2f3db3c5f831d6980aa018677eefa7a5b 100644 (file)
@@ -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
+