Linux-2.6.12-rc2
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / frv / boot / Makefile
blobd75e0d7713660fcadc21afb72b78428bc827e87f
2 # arch/arm/boot/Makefile
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.
8 # Copyright (C) 1995-2000 Russell King
11 SYSTEM =$(TOPDIR)/$(LINUX)
13 ZTEXTADDR = 0x02080000
14 PARAMS_PHYS = 0x0207c000
15 INITRD_PHYS = 0x02180000
16 INITRD_VIRT = 0x02180000
19 # If you don't define ZRELADDR above,
20 # then it defaults to ZTEXTADDR
22 ifeq ($(ZRELADDR),)
23 ZRELADDR = $(ZTEXTADDR)
24 endif
26 export SYSTEM ZTEXTADDR ZBSSADDR ZRELADDR INITRD_PHYS INITRD_VIRT PARAMS_PHYS
28 Image: $(obj)/Image
30 targets: $(obj)/Image
32 $(obj)/Image: vmlinux FORCE
33 $(OBJCOPY) -O binary -R .note -R .comment -S vmlinux $@
35 #$(obj)/Image: $(CONFIGURE) $(SYSTEM)
36 # $(OBJCOPY) -O binary -R .note -R .comment -g -S $(SYSTEM) $@
38 bzImage: zImage
40 zImage: $(CONFIGURE) compressed/$(LINUX)
41 $(OBJCOPY) -O binary -R .note -R .comment -S compressed/$(LINUX) $@
43 bootpImage: bootp/bootp
44 $(OBJCOPY) -O binary -R .note -R .comment -S bootp/bootp $@
46 compressed/$(LINUX): $(TOPDIR)/$(LINUX) dep
47 @$(MAKE) -C compressed $(LINUX)
49 bootp/bootp: zImage initrd
50 @$(MAKE) -C bootp bootp
52 initrd:
53 @test "$(INITRD_VIRT)" != "" || (echo This architecture does not support INITRD; exit -1)
54 @test "$(INITRD)" != "" || (echo You must specify INITRD; exit -1)
57 # installation
59 install: $(CONFIGURE) Image
60 sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) Image $(TOPDIR)/System.map "$(INSTALL_PATH)"
62 zinstall: $(CONFIGURE) zImage
63 sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)"
66 # miscellany
68 mrproper clean:
69 $(RM) Image zImage bootpImage
70 # @$(MAKE) -C compressed clean
71 # @$(MAKE) -C bootp clean
73 dep: