File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -205,10 +205,7 @@ libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y)
205205
206206BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec uImage.bin \
207207 zImage vmlinux.srec romImage
208- PHONY += maketools $(BOOT_TARGETS ) FORCE
209-
210- maketools : include/linux/version.h FORCE
211- $(Q )$(MAKE ) $(build ) =arch/sh/tools include/asm-sh/machtypes.h
208+ PHONY += $(BOOT_TARGETS )
212209
213210all : $(KBUILD_IMAGE )
214211
@@ -217,7 +214,8 @@ $(BOOT_TARGETS): vmlinux
217214
218215compressed : zImage
219216
220- archprepare : maketools
217+ archprepare :
218+ $(Q )$(MAKE ) $(build ) =arch/sh/tools include/generated/machtypes.h
221219
222220archclean :
223221 $(Q )$(MAKE ) $(clean ) =$(boot )
@@ -234,5 +232,3 @@ define archhelp
234232 @echo ' uImage.bz2 - Kernel-only image for U-Boot (bzip2)'
235233 @echo ' uImage.lzma - Kernel-only image for U-Boot (lzma)'
236234endef
237-
238- CLEAN_FILES += include/asm-sh/machtypes.h
Original file line number Diff line number Diff line change 1515#include <mach/lboxre2.h>
1616#include <mach/r2d.h>
1717#include "pci-sh4.h"
18- #include <asm /machtypes.h>
18+ #include <generated /machtypes.h>
1919
2020#define PCIMCR_MRSET_OFF 0xBFFFFFFF
2121#define PCIMCR_RFSH_OFF 0xFFFFFFFB
Load diff This file was deleted.
Original file line number Diff line number Diff line change 1212
1313#include <linux/types.h>
1414#include <linux/time.h>
15- #include <asm /machtypes.h>
15+ #include <generated /machtypes.h>
1616
1717struct sh_machine_vector {
1818 void (* mv_setup )(char * * cmdline_p );
Original file line number Diff line number Diff line change 1010# Shamelessly cloned from ARM.
1111#
1212
13- include/asm-sh /machtypes.h : $(src ) /gen-mach-types $(src ) /mach-types
13+ include/generated /machtypes.h : $(src ) /gen-mach-types $(src ) /mach-types
1414 @echo ' Generating $@'
15- $(Q ) if [ ! -d include/asm-sh ] ; then mkdir -p include/asm-sh ; fi
15+ $(Q ) mkdir -p $( dir $@ )
1616 $(Q )$(AWK ) -f $^ > $@ || { rm -f $@ ; /bin/false; }
Original file line number Diff line number Diff line change 11#!/bin/awk
22#
3- # Awk script to generate include/asm-sh /machtypes.h
3+ # Awk script to generate include/generated /machtypes.h
44# Heavily based on arch/arm/tools/gen-mach-types
55#
66BEGIN { nr = 0 }
You can’t perform that action at this time.
0 commit comments