diff --git a/arch/sh/tools/Makefile b/arch/sh/tools/Makefile index 3c370a1132913b68371ce02142e8b2355b34bb4a..567516b58acca40ff99ada5fd9bd1bd100b91496 100644 --- a/arch/sh/tools/Makefile +++ b/arch/sh/tools/Makefile @@ -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; }