Makefile (fc6cca3917e6594eb93c0b5e2226342eab175041) | Makefile (e7d165146a7de5ceb4f68e188b2679f003744f54) |
---|---|
1# 2# arch/sh/Makefile 3# 4# Copyright (C) 1999 Kaz Kojima 5# Copyright (C) 2002 - 2008 Paul Mundt 6# Copyright (C) 2002 M. R. Brown 7# 8# This file is subject to the terms and conditions of the GNU General Public --- 122 unchanged lines hidden (view full) --- 131machdir-$(CONFIG_SH_DREAMCAST) += mach-dreamcast 132machdir-$(CONFIG_SH_SH03) += mach-sh03 133machdir-$(CONFIG_SH_SECUREEDGE5410) += mach-snapgear 134machdir-$(CONFIG_SH_RTS7751R2D) += mach-r2d 135machdir-$(CONFIG_SH_7751_SYSTEMH) += mach-systemh 136machdir-$(CONFIG_SH_EDOSK7705) += mach-edosk7705 137machdir-$(CONFIG_SH_HIGHLANDER) += mach-highlander 138machdir-$(CONFIG_SH_MIGOR) += mach-migor | 1# 2# arch/sh/Makefile 3# 4# Copyright (C) 1999 Kaz Kojima 5# Copyright (C) 2002 - 2008 Paul Mundt 6# Copyright (C) 2002 M. R. Brown 7# 8# This file is subject to the terms and conditions of the GNU General Public --- 122 unchanged lines hidden (view full) --- 131machdir-$(CONFIG_SH_DREAMCAST) += mach-dreamcast 132machdir-$(CONFIG_SH_SH03) += mach-sh03 133machdir-$(CONFIG_SH_SECUREEDGE5410) += mach-snapgear 134machdir-$(CONFIG_SH_RTS7751R2D) += mach-r2d 135machdir-$(CONFIG_SH_7751_SYSTEMH) += mach-systemh 136machdir-$(CONFIG_SH_EDOSK7705) += mach-edosk7705 137machdir-$(CONFIG_SH_HIGHLANDER) += mach-highlander 138machdir-$(CONFIG_SH_MIGOR) += mach-migor |
139machdir-$(CONFIG_SH_KFR2R09) += mach-kfr2r09 |
|
139machdir-$(CONFIG_SH_SDK7780) += mach-sdk7780 140machdir-$(CONFIG_SH_X3PROTO) += mach-x3proto 141machdir-$(CONFIG_SH_SH7763RDP) += mach-sh7763rdp 142machdir-$(CONFIG_SH_SH4202_MICRODEV) += mach-microdev 143machdir-$(CONFIG_SH_LANDISK) += mach-landisk 144machdir-$(CONFIG_SH_TITAN) += mach-titan 145machdir-$(CONFIG_SH_LBOX_RE2) += mach-lboxre2 146machdir-$(CONFIG_SH_CAYMAN) += mach-cayman --- 34 unchanged lines hidden (view full) --- 181 182cflags-y += $(foreach d, $(cpuincdir-y), -Iarch/sh/include/$(d)) \ 183 $(foreach d, $(machdir-y), -Iarch/sh/include/$(d)) 184 185KBUILD_CFLAGS += -pipe $(cflags-y) 186KBUILD_CPPFLAGS += $(cflags-y) 187KBUILD_AFLAGS += $(cflags-y) 188 | 140machdir-$(CONFIG_SH_SDK7780) += mach-sdk7780 141machdir-$(CONFIG_SH_X3PROTO) += mach-x3proto 142machdir-$(CONFIG_SH_SH7763RDP) += mach-sh7763rdp 143machdir-$(CONFIG_SH_SH4202_MICRODEV) += mach-microdev 144machdir-$(CONFIG_SH_LANDISK) += mach-landisk 145machdir-$(CONFIG_SH_TITAN) += mach-titan 146machdir-$(CONFIG_SH_LBOX_RE2) += mach-lboxre2 147machdir-$(CONFIG_SH_CAYMAN) += mach-cayman --- 34 unchanged lines hidden (view full) --- 182 183cflags-y += $(foreach d, $(cpuincdir-y), -Iarch/sh/include/$(d)) \ 184 $(foreach d, $(machdir-y), -Iarch/sh/include/$(d)) 185 186KBUILD_CFLAGS += -pipe $(cflags-y) 187KBUILD_CPPFLAGS += $(cflags-y) 188KBUILD_AFLAGS += $(cflags-y) 189 |
189ifeq ($(CONFIG_MCOUNT),y) 190 KBUILD_CFLAGS += -pg 191endif 192 | |
193libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) 194libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) 195 | 190libs-$(CONFIG_SUPERH32) := arch/sh/lib/ $(libs-y) 191libs-$(CONFIG_SUPERH64) := arch/sh/lib64/ $(libs-y) 192 |
196BOOT_TARGETS = uImage uImage.bz2 uImage.gz uImage.lzma uImage.srec \ 197 zImage vmlinux.srec 198PHONY += maketools $(BOOT_TARGETS) FORCE | 193PHONY += maketools FORCE |
199 200maketools: include/linux/version.h FORCE 201 $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h 202 203all: $(KBUILD_IMAGE) 204 | 194 195maketools: include/linux/version.h FORCE 196 $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h 197 198all: $(KBUILD_IMAGE) 199 |
205$(BOOT_TARGETS): vmlinux | 200zImage uImage uImage.srec vmlinux.srec: vmlinux |
206 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 207 208compressed: zImage 209 210archprepare: maketools 211 212archclean: 213 $(Q)$(MAKE) $(clean)=$(boot) 214 $(Q)$(MAKE) $(clean)=arch/sh/kernel/vsyscall 215 216define archhelp | 201 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 202 203compressed: zImage 204 205archprepare: maketools 206 207archclean: 208 $(Q)$(MAKE) $(clean)=$(boot) 209 $(Q)$(MAKE) $(clean)=arch/sh/kernel/vsyscall 210 211define archhelp |
217 @echo ' zImage - Compressed kernel image' | 212 @echo '* zImage - Compressed kernel image' |
218 @echo ' vmlinux.srec - Create an ELF S-record' | 213 @echo ' vmlinux.srec - Create an ELF S-record' |
219 @echo '* uImage - Alias to bootable U-Boot image' 220 @echo ' uImage.srec - Create an S-record for U-Boot' 221 @echo '* uImage.gz - Kernel-only image for U-Boot (gzip)' 222 @echo ' uImage.bz2 - Kernel-only image for U-Boot (bzip2)' 223 @echo ' uImage.lzma - Kernel-only image for U-Boot (lzma)' | 214 @echo ' uImage - Create a bootable image for U-Boot' 215 @echo ' uImage.srec - Create an S-record for U-Boot' |
224endef 225 226CLEAN_FILES += include/asm-sh/machtypes.h | 216endef 217 218CLEAN_FILES += include/asm-sh/machtypes.h |