Makefile (bef986502fa398b1785a3979b1aa17cd902d3527) Makefile (cf00e20444fc39fe37691ca32919061bf65527b0)
1# $Id: Makefile,v 1.35 2004/04/15 03:39:20 sugioka Exp $
2#
3# This file is subject to the terms and conditions of the GNU General Public
4# License. See the file "COPYING" in the main directory of this archive
5# for more details.
6#
7# Copyright (C) 1999 Kaz Kojima
8# Copyright (C) 2002, 2003, 2004 Paul Mundt

--- 165 unchanged lines hidden (view full) ---

174archprepare: include/asm-sh/.cpu include/asm-sh/.mach maketools
175
176PHONY += maketools FORCE
177maketools: include/linux/version.h FORCE
178 $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h
179
180all: zImage
181
1# $Id: Makefile,v 1.35 2004/04/15 03:39:20 sugioka Exp $
2#
3# This file is subject to the terms and conditions of the GNU General Public
4# License. See the file "COPYING" in the main directory of this archive
5# for more details.
6#
7# Copyright (C) 1999 Kaz Kojima
8# Copyright (C) 2002, 2003, 2004 Paul Mundt

--- 165 unchanged lines hidden (view full) ---

174archprepare: include/asm-sh/.cpu include/asm-sh/.mach maketools
175
176PHONY += maketools FORCE
177maketools: include/linux/version.h FORCE
178 $(Q)$(MAKE) $(build)=arch/sh/tools include/asm-sh/machtypes.h
179
180all: zImage
181
182zImage: vmlinux
182zImage uImage uImage.srec vmlinux.srec: vmlinux
183 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
184
185compressed: zImage
186
187archclean:
188 $(Q)$(MAKE) $(clean)=$(boot)
189
190CLEAN_FILES += include/asm-sh/machtypes.h
191
192define archhelp
183 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@
184
185compressed: zImage
186
187archclean:
188 $(Q)$(MAKE) $(clean)=$(boot)
189
190CLEAN_FILES += include/asm-sh/machtypes.h
191
192define archhelp
193 @echo ' zImage - Compressed kernel image (arch/sh/boot/zImage)'
193 @echo '* zImage - Compressed kernel image'
194 @echo ' vmlinux.srec - Create an ELF S-record'
195 @echo ' uImage - Create a bootable image for U-Boot'
196 @echo ' uImage.srec - Create an S-record for U-Boot'
194endef
197endef