1#
2# arch/sh/boot/Makefile
3#
4# This file is subject to the terms and conditions of the GNU General Public
5# License.  See the file "COPYING" in the main directory of this archive
6# for more details.
7#
8# Copyright (C) 1999 Stuart Menefy
9#
10
11SYSTEM  =$(TOPDIR)/vmlinux
12
13Image:	$(CONFIGURE) $(SYSTEM)
14	$(OBJCOPY) $(SYSTEM) Image
15
16zImage: $(CONFIGURE) compressed/vmlinux
17	$(OBJCOPY) compressed/vmlinux zImage
18
19compressed/vmlinux: $(TOPDIR)/vmlinux
20	$(MAKE) -C compressed vmlinux
21
22install: $(CONFIGURE) Image
23	sh -x ./install.sh $(KERNELRELEASE) Image $(TOPDIR)/System.map "$(INSTALL_PATH)"
24
25zinstall: $(CONFIGURE) zImage
26	sh -x ./install.sh $(KERNELRELEASE) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)"
27
28dep:
29
30clean:
31	rm -f tools/build
32	rm -f setup bootsect zImage compressed/vmlinux.out
33	rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
34	@$(MAKE) -C compressed clean
35