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 a4f84f9..5c3565a 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
+