diff options
Diffstat (limited to 'arch/sh/Makefile')
| -rw-r--r-- | arch/sh/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile index b5635635b5ee..4a3049080b41 100644 --- a/arch/sh/Makefile +++ b/arch/sh/Makefile | |||
| @@ -152,10 +152,10 @@ endif | |||
| 152 | @touch $@ | 152 | @touch $@ |
| 153 | 153 | ||
| 154 | 154 | ||
| 155 | prepare: maketools include/asm-sh/.cpu include/asm-sh/.mach | 155 | archprepare: maketools include/asm-sh/.cpu include/asm-sh/.mach |
| 156 | 156 | ||
| 157 | .PHONY: maketools FORCE | 157 | .PHONY: maketools FORCE |
| 158 | maketools: include/asm-sh/asm-offsets.h include/linux/version.h FORCE | 158 | maketools: include/linux/version.h FORCE |
| 159 | $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h | 159 | $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h |
| 160 | 160 | ||
| 161 | all: zImage | 161 | all: zImage |
| @@ -168,14 +168,7 @@ compressed: zImage | |||
| 168 | archclean: | 168 | archclean: |
| 169 | $(Q)$(MAKE) $(clean)=$(boot) | 169 | $(Q)$(MAKE) $(clean)=$(boot) |
| 170 | 170 | ||
| 171 | CLEAN_FILES += include/asm-sh/machtypes.h include/asm-sh/asm-offsets.h | 171 | CLEAN_FILES += include/asm-sh/machtypes.h |
| 172 | |||
| 173 | arch/sh/kernel/asm-offsets.s: include/asm include/linux/version.h \ | ||
| 174 | include/asm-sh/.cpu include/asm-sh/.mach | ||
| 175 | |||
| 176 | include/asm-sh/asm-offsets.h: arch/sh/kernel/asm-offsets.s | ||
| 177 | $(call filechk,gen-asm-offsets) | ||
| 178 | |||
| 179 | 172 | ||
| 180 | define archhelp | 173 | define archhelp |
| 181 | @echo ' zImage - Compressed kernel image (arch/sh/boot/zImage)' | 174 | @echo ' zImage - Compressed kernel image (arch/sh/boot/zImage)' |
