diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2009-10-17 22:20:22 +0200 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2009-12-12 13:08:14 +0100 |
commit | 3252b11fc4790d046b93f300c898df2f7cd7c176 (patch) | |
tree | a1239e538ad9be65c77414c5fb11ae75739e1836 /arch/sh/tools/Makefile | |
parent | 66206536fe56e889a8bd86ab5742fc76c78c5b4a (diff) | |
download | linux-3252b11fc4790d046b93f300c898df2f7cd7c176.tar.gz linux-3252b11fc4790d046b93f300c898df2f7cd7c176.tar.bz2 linux-3252b11fc4790d046b93f300c898df2f7cd7c176.zip |
sh: move machtypes.h to include/generated
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'arch/sh/tools/Makefile')
-rw-r--r-- | arch/sh/tools/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/tools/Makefile b/arch/sh/tools/Makefile index 567516b58acc..558a56bcc7cf 100644 --- a/arch/sh/tools/Makefile +++ b/arch/sh/tools/Makefile @@ -10,7 +10,7 @@ # Shamelessly cloned from ARM. # -include/asm-sh/machtypes.h: $(src)/gen-mach-types $(src)/mach-types +include/generated/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)mkdir -p $(dir $@) $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } |