diff options
-rw-r--r-- | arch/sh/Makefile | 4 | ||||
-rw-r--r-- | arch/sh/tools/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index 25659ce74baa..7b70cfd2516a 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
@@ -164,7 +164,7 @@ KBUILD_AFLAGS += $(cflags-y) | |||
164 | PHONY += maketools FORCE | 164 | PHONY += maketools FORCE |
165 | 165 | ||
166 | maketools: include/linux/version.h FORCE | 166 | maketools: include/linux/version.h FORCE |
167 | $(Q)$(MAKE) $(build)=arch/sh/tools arch/sh/include/asm/machtypes.h | 167 | $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h |
168 | 168 | ||
169 | all: $(KBUILD_IMAGE) | 169 | all: $(KBUILD_IMAGE) |
170 | 170 | ||
@@ -215,4 +215,4 @@ arch/sh/lib64/syscalltab.h: arch/sh/kernel/syscalls_64.S | |||
215 | $(call filechk,gen-syscalltab) | 215 | $(call filechk,gen-syscalltab) |
216 | 216 | ||
217 | CLEAN_FILES += arch/sh/lib64/syscalltab.h \ | 217 | CLEAN_FILES += arch/sh/lib64/syscalltab.h \ |
218 | arch/sh/include/asm/machtypes.h | 218 | include/asm-sh/machtypes.h |
diff --git a/arch/sh/tools/Makefile b/arch/sh/tools/Makefile index b5d202be8206..567516b58acc 100644 --- a/arch/sh/tools/Makefile +++ b/arch/sh/tools/Makefile | |||
@@ -10,7 +10,7 @@ | |||
10 | # Shamelessly cloned from ARM. | 10 | # Shamelessly cloned from ARM. |
11 | # | 11 | # |
12 | 12 | ||
13 | arch/sh/include/asm/machtypes.h: $(src)/gen-mach-types $(src)/mach-types | 13 | include/asm-sh/machtypes.h: $(src)/gen-mach-types $(src)/mach-types |
14 | @echo ' Generating $@' | 14 | @echo ' Generating $@' |
15 | $(Q)if [ ! -d arch/sh/include/asm ]; then mkdir -p arch/sh/include/asm; fi | 15 | $(Q)if [ ! -d include/asm-sh ]; then mkdir -p include/asm-sh; fi |
16 | $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } | 16 | $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } |