summaryrefslogtreecommitdiffstats
path: root/arch/sh/tools/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-10-17 22:20:22 +0200
committerMichal Marek <mmarek@suse.cz>2009-12-12 13:08:14 +0100
commit3252b11fc4790d046b93f300c898df2f7cd7c176 (patch)
treea1239e538ad9be65c77414c5fb11ae75739e1836 /arch/sh/tools/Makefile
parent66206536fe56e889a8bd86ab5742fc76c78c5b4a (diff)
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/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/tools/Makefile b/arch/sh/tools/Makefile
index 567516b58ac..558a56bcc7c 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; }