default to gcc 3.4.4 for brcm-2.4 because of weird kernel problems
[openwrt.git] / package / setserial / Makefile
index 204ccc2..5c3565a 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=setserial
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=setserial
@@ -40,12 +42,12 @@ $(PKG_BUILD_DIR)/.configured:
                  $(DISABLE_LARGEFILE) \
                  $(DISABLE_NLS) \
        )
                  $(DISABLE_LARGEFILE) \
                  $(DISABLE_NLS) \
        )
-       touch $(PKG_BUILD_DIR)/.configured
+       touch $@
 
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                all
 
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                all
-       touch $(PKG_BUILD_DIR)/.built
+       touch $@
 
 $(IPKG_SETSERIAL):
        install -d -m0755 $(IDIR_SETSERIAL)/etc/init.d
 
 $(IPKG_SETSERIAL):
        install -d -m0755 $(IDIR_SETSERIAL)/etc/init.d
@@ -54,3 +56,9 @@ $(IPKG_SETSERIAL):
        install -m0755 $(PKG_BUILD_DIR)/setserial $(IDIR_SETSERIAL)/usr/sbin/
        $(RSTRIP) $(IDIR_SETSERIAL)
        $(IPKG_BUILD) $(IDIR_SETSERIAL) $(PACKAGE_DIR)
        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
+
This page took 0.022035 seconds and 4 git commands to generate.