]> err.no Git - linux-2.6/blobdiff - arch/sh/tools/Makefile
Merge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
[linux-2.6] / arch / sh / tools / Makefile
index 3c370a1132913b68371ce02142e8b2355b34bb4a..567516b58acca40ff99ada5fd9bd1bd100b91496 100644 (file)
@@ -12,4 +12,5 @@
 
 include/asm-sh/machtypes.h: $(src)/gen-mach-types $(src)/mach-types
        @echo '  Generating $@'
+       $(Q)if [ ! -d include/asm-sh ]; then mkdir -p include/asm-sh; fi
        $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; }