summaryrefslogtreecommitdiffstats
path: root/arch/sh/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/Makefile
parent66206536fe56e889a8bd86ab5742fc76c78c5b4a (diff)
downloadtalos-obmc-linux-3252b11fc4790d046b93f300c898df2f7cd7c176.tar.gz
talos-obmc-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/Makefile')
-rw-r--r--arch/sh/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index ac17c5ac550e..db91925c79d1 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -205,10 +205,7 @@ libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y)
BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec uImage.bin \
zImage vmlinux.srec romImage
-PHONY += maketools $(BOOT_TARGETS) FORCE
-
-maketools: include/linux/version.h FORCE
- $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h
+PHONY += $(BOOT_TARGETS)
all: $(KBUILD_IMAGE)
@@ -217,7 +214,8 @@ $(BOOT_TARGETS): vmlinux
compressed: zImage
-archprepare: maketools
+archprepare:
+ $(Q)$(MAKE) $(build)=arch/sh/tools include/generated/machtypes.h
archclean:
$(Q)$(MAKE) $(clean)=$(boot)
@@ -234,5 +232,3 @@ define archhelp
@echo ' uImage.bz2 - Kernel-only image for U-Boot (bzip2)'
@echo ' uImage.lzma - Kernel-only image for U-Boot (lzma)'
endef
-
-CLEAN_FILES += include/asm-sh/machtypes.h
OpenPOWER on IntegriCloud