vserver 1.9.5.x5
[linux-2.6.git] / arch / sh / tools / Makefile
index 268bf3e..3c370a1 100644 (file)
@@ -10,7 +10,6 @@
 # Shamelessly cloned from ARM.
 #
 
-include/asm-sh/machtypes.h: $(obj)/machgen.sh $(obj)/mach-types
+include/asm-sh/machtypes.h: $(src)/gen-mach-types $(src)/mach-types
        @echo '  Generating $@'
-       @$(CONFIG_SHELL) $(obj)/machgen.sh $(obj)/mach-types > $@
-
+       $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }