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
8 # Copyright (C) 1995-2000 Russell King
11 SYSTEM
=$(TOPDIR
)/vmlinux
13 ifeq ($(CONFIG_CPU_26
),y
)
14 ZTEXTADDR
= 0x02080000
15 PARAMS_PHYS
= 0x0207c000
16 INITRD_PHYS
= 0x02180000
17 INITRD_VIRT
= 0x02180000
20 ifeq ($(CONFIG_ARCH_RPC
),y
)
21 ZTEXTADDR
= 0x10008000
22 PARAMS_PHYS
= 0x10000100
23 INITRD_PHYS
= 0x18000000
24 INITRD_VIRT
= 0xc8000000
27 ifeq ($(CONFIG_ARCH_CLPS7500
),y
)
28 ZTEXTADDR
= 0x10008000
31 ifeq ($(CONFIG_ARCH_EBSA110
),y
)
32 ZTEXTADDR
= 0x00008000
33 PARAMS_PHYS
= 0x00000400
34 INITRD_PHYS
= 0x00800000
35 INITRD_VIRT
= 0xc0800000
38 ifeq ($(CONFIG_ARCH_SHARK
),y
)
39 ZTEXTADDR
= 0x08508000
43 ifeq ($(CONFIG_FOOTBRIDGE
),y
)
44 ZTEXTADDR
= 0x00008000
45 PARAMS_PHYS
= 0x00000100
46 INITRD_PHYS
= 0x00800000
47 INITRD_VIRT
= 0xc0800000
50 ifeq ($(CONFIG_ARCH_INTEGRATOR
),y
)
51 ZTEXTADDR
= 0x00008000
52 PARAMS_PHYS
= 0x00000100
53 INITRD_PHYS
= 0x00800000
54 INITRD_VIRT
= 0xc0800000
57 ifeq ($(CONFIG_ARCH_NEXUSPCI
),y
)
58 ZTEXTADDR
= 0x40200000
62 ifeq ($(CONFIG_ARCH_L7200
),y
)
64 #ZTEXTADDR = 0xf0400000
65 #ZRELADDR = 0xf0008000
68 ZTEXTADDR
= 0x00010000
73 ifeq ($(CONFIG_ARCH_P720T
),y
)
74 ZTEXTADDR
= 0xc0018000
76 PARAMS_PHYS
= 0xc0000100
77 INITRD_PHYS
= 0xc0400000
78 INITRD_VIRT
= 0xc0400000
81 ifeq ($(CONFIG_ARCH_SA1100
),y
)
82 ZTEXTADDR
= 0xc0008000
84 ifeq ($(CONFIG_SA1100_VICTOR
),y
)
85 ZTEXTADDR
= 0x00002000
88 ifeq ($(CONFIG_SA1100_SHERMAN
),y
)
89 ZTEXTADDR
= 0x00050000
92 ifeq ($(CONFIG_SA1100_GRAPHICSCLIENT
),y
)
93 ZTEXTADDR
= 0xC0200000
98 # If you don't define ZRELADDR above,
99 # then it defaults to ZTEXTADDR
102 ZRELADDR
= $(ZTEXTADDR
)
105 export SYSTEM ZTEXTADDR ZBSSADDR ZRELADDR INITRD_PHYS INITRD_VIRT PARAMS_PHYS
107 Image
: $(CONFIGURE
) $(SYSTEM
)
108 $(OBJCOPY
) $(SYSTEM
) $@
112 zImage
: $(CONFIGURE
) compressed
/vmlinux
113 $(OBJCOPY
) compressed
/vmlinux
$@
115 bootpImage
: bootp
/bootp
116 $(OBJCOPY
) bootp
/bootp
$@
118 compressed
/vmlinux
: $(TOPDIR
)/vmlinux dep
119 @
$(MAKE
) -C compressed vmlinux
121 bootp
/bootp
: zImage initrd
122 @
$(MAKE
) -C bootp bootp
125 @
test "$(INITRD_VIRT)" != "" ||
(echo This architecture does not support INITRD
; exit
-1)
126 @
test "$(INITRD)" != "" ||
(echo You must specify INITRD
; exit
-1)
128 install: $(CONFIGURE
) Image
129 sh .
/install.sh
$(VERSION
).
$(PATCHLEVEL
).
$(SUBLEVEL
)$(EXTRAVERSION
) Image
$(TOPDIR
)/System.map
"$(INSTALL_PATH)"
131 zinstall
: $(CONFIGURE
) zImage
132 sh .
/install.sh
$(VERSION
).
$(PATCHLEVEL
).
$(SUBLEVEL
)$(EXTRAVERSION
) zImage
$(TOPDIR
)/System.map
"$(INSTALL_PATH)"
135 $(RM
) Image zImage bootpImage
136 @
$(MAKE
) -C compressed
clean
137 @
$(MAKE
) -C bootp
clean