diff options
Diffstat (limited to 'arch/arm/Makefile')
-rw-r--r-- | arch/arm/Makefile | 124 |
1 files changed, 68 insertions, 56 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index e84729bf13d4..c877d6df23d1 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile | |||
@@ -11,6 +11,9 @@ | |||
11 | # Copyright (C) 1995-2001 by Russell King | 11 | # Copyright (C) 1995-2001 by Russell King |
12 | 12 | ||
13 | LDFLAGS_vmlinux :=-p --no-undefined -X | 13 | LDFLAGS_vmlinux :=-p --no-undefined -X |
14 | ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) | ||
15 | LDFLAGS_vmlinux += --be8 | ||
16 | endif | ||
14 | CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET) | 17 | CPPFLAGS_vmlinux.lds = -DTEXT_OFFSET=$(TEXT_OFFSET) |
15 | OBJCOPYFLAGS :=-O binary -R .note -R .note.gnu.build-id -R .comment -S | 18 | OBJCOPYFLAGS :=-O binary -R .note -R .note.gnu.build-id -R .comment -S |
16 | GZFLAGS :=-9 | 19 | GZFLAGS :=-9 |
@@ -99,64 +102,73 @@ CHECKFLAGS += -D__arm__ | |||
99 | #Default value | 102 | #Default value |
100 | head-y := arch/arm/kernel/head$(MMUEXT).o arch/arm/kernel/init_task.o | 103 | head-y := arch/arm/kernel/head$(MMUEXT).o arch/arm/kernel/init_task.o |
101 | textofs-y := 0x00008000 | 104 | textofs-y := 0x00008000 |
102 | 105 | textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000 | |
103 | machine-$(CONFIG_ARCH_RPC) := rpc | ||
104 | machine-$(CONFIG_ARCH_EBSA110) := ebsa110 | ||
105 | machine-$(CONFIG_FOOTBRIDGE) := footbridge | ||
106 | machine-$(CONFIG_ARCH_SHARK) := shark | ||
107 | machine-$(CONFIG_ARCH_SA1100) := sa1100 | ||
108 | ifeq ($(CONFIG_ARCH_SA1100),y) | ||
109 | # SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory | 106 | # SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory |
110 | textofs-$(CONFIG_SA1111) := 0x00208000 | 107 | ifeq ($(CONFIG_ARCH_SA1100),y) |
108 | textofs-$(CONFIG_SA1111) := 0x00208000 | ||
111 | endif | 109 | endif |
112 | machine-$(CONFIG_ARCH_PXA) := pxa | 110 | |
113 | machine-$(CONFIG_ARCH_MMP) := mmp | 111 | # Machine directory name. This list is sorted alphanumerically |
114 | plat-$(CONFIG_PLAT_PXA) := pxa | 112 | # by CONFIG_* macro name. |
115 | machine-$(CONFIG_ARCH_L7200) := l7200 | 113 | machine-$(CONFIG_ARCH_AAEC2000) := aaec2000 |
116 | machine-$(CONFIG_ARCH_INTEGRATOR) := integrator | 114 | machine-$(CONFIG_ARCH_AT91) := at91 |
117 | machine-$(CONFIG_ARCH_GEMINI) := gemini | 115 | machine-$(CONFIG_ARCH_CLPS711X) := clps711x |
118 | textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000 | 116 | machine-$(CONFIG_ARCH_DAVINCI) := davinci |
119 | machine-$(CONFIG_ARCH_CLPS711X) := clps711x | 117 | machine-$(CONFIG_ARCH_EBSA110) := ebsa110 |
120 | machine-$(CONFIG_ARCH_IOP32X) := iop32x | 118 | machine-$(CONFIG_ARCH_EP93XX) := ep93xx |
121 | machine-$(CONFIG_ARCH_IOP33X) := iop33x | 119 | machine-$(CONFIG_ARCH_GEMINI) := gemini |
122 | machine-$(CONFIG_ARCH_IOP13XX) := iop13xx | 120 | machine-$(CONFIG_ARCH_H720X) := h720x |
123 | plat-$(CONFIG_PLAT_IOP) := iop | 121 | machine-$(CONFIG_ARCH_INTEGRATOR) := integrator |
124 | machine-$(CONFIG_ARCH_IXP4XX) := ixp4xx | 122 | machine-$(CONFIG_ARCH_IOP13XX) := iop13xx |
125 | machine-$(CONFIG_ARCH_IXP2000) := ixp2000 | 123 | machine-$(CONFIG_ARCH_IOP32X) := iop32x |
126 | machine-$(CONFIG_ARCH_IXP23XX) := ixp23xx | 124 | machine-$(CONFIG_ARCH_IOP33X) := iop33x |
127 | machine-$(CONFIG_ARCH_OMAP1) := omap1 | 125 | machine-$(CONFIG_ARCH_IXP2000) := ixp2000 |
128 | machine-$(CONFIG_ARCH_OMAP2) := omap2 | 126 | machine-$(CONFIG_ARCH_IXP23XX) := ixp23xx |
129 | machine-$(CONFIG_ARCH_OMAP3) := omap2 | 127 | machine-$(CONFIG_ARCH_IXP4XX) := ixp4xx |
130 | plat-$(CONFIG_ARCH_OMAP) := omap | 128 | machine-$(CONFIG_ARCH_KIRKWOOD) := kirkwood |
131 | machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443 | 129 | machine-$(CONFIG_ARCH_KS8695) := ks8695 |
132 | machine-$(CONFIG_ARCH_S3C24A0) := s3c24a0 | 130 | machine-$(CONFIG_ARCH_L7200) := l7200 |
133 | plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c | 131 | machine-$(CONFIG_ARCH_LH7A40X) := lh7a40x |
134 | machine-$(CONFIG_ARCH_S3C64XX) := s3c6400 s3c6410 | 132 | machine-$(CONFIG_ARCH_LOKI) := loki |
135 | plat-$(CONFIG_PLAT_S3C64XX) := s3c64xx s3c | 133 | machine-$(CONFIG_ARCH_MMP) := mmp |
136 | machine-$(CONFIG_ARCH_LH7A40X) := lh7a40x | 134 | machine-$(CONFIG_ARCH_MSM) := msm |
137 | machine-$(CONFIG_ARCH_VERSATILE) := versatile | 135 | machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0 |
138 | machine-$(CONFIG_ARCH_IMX) := imx | 136 | machine-$(CONFIG_ARCH_MX1) := mx1 |
139 | machine-$(CONFIG_ARCH_H720X) := h720x | 137 | machine-$(CONFIG_ARCH_MX2) := mx2 |
140 | machine-$(CONFIG_ARCH_AAEC2000) := aaec2000 | 138 | machine-$(CONFIG_ARCH_MX3) := mx3 |
141 | machine-$(CONFIG_ARCH_REALVIEW) := realview | 139 | machine-$(CONFIG_ARCH_NETX) := netx |
142 | machine-$(CONFIG_ARCH_AT91) := at91 | 140 | machine-$(CONFIG_ARCH_NS9XXX) := ns9xxx |
143 | machine-$(CONFIG_ARCH_EP93XX) := ep93xx | 141 | machine-$(CONFIG_ARCH_OMAP1) := omap1 |
144 | machine-$(CONFIG_ARCH_PNX4008) := pnx4008 | 142 | machine-$(CONFIG_ARCH_OMAP2) := omap2 |
145 | machine-$(CONFIG_ARCH_NETX) := netx | 143 | machine-$(CONFIG_ARCH_OMAP3) := omap2 |
146 | machine-$(CONFIG_ARCH_NS9XXX) := ns9xxx | 144 | machine-$(CONFIG_ARCH_OMAP4) := omap2 |
147 | machine-$(CONFIG_ARCH_DAVINCI) := davinci | 145 | machine-$(CONFIG_ARCH_ORION5X) := orion5x |
148 | machine-$(CONFIG_ARCH_KIRKWOOD) := kirkwood | 146 | machine-$(CONFIG_ARCH_PNX4008) := pnx4008 |
149 | machine-$(CONFIG_ARCH_KS8695) := ks8695 | 147 | machine-$(CONFIG_ARCH_PXA) := pxa |
150 | plat-$(CONFIG_ARCH_MXC) := mxc | 148 | machine-$(CONFIG_ARCH_REALVIEW) := realview |
151 | machine-$(CONFIG_ARCH_MX2) := mx2 | 149 | machine-$(CONFIG_ARCH_RPC) := rpc |
152 | machine-$(CONFIG_ARCH_MX3) := mx3 | 150 | machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2400 s3c2412 s3c2440 s3c2442 s3c2443 |
153 | machine-$(CONFIG_ARCH_MX1) := mx1 | 151 | machine-$(CONFIG_ARCH_S3C24A0) := s3c24a0 |
154 | machine-$(CONFIG_ARCH_ORION5X) := orion5x | 152 | machine-$(CONFIG_ARCH_S3C64XX) := s3c6400 s3c6410 |
155 | plat-$(CONFIG_PLAT_ORION) := orion | 153 | machine-$(CONFIG_ARCH_SA1100) := sa1100 |
156 | machine-$(CONFIG_ARCH_MSM) := msm | 154 | machine-$(CONFIG_ARCH_SHARK) := shark |
157 | machine-$(CONFIG_ARCH_LOKI) := loki | 155 | machine-$(CONFIG_ARCH_STMP378X) := stmp378x |
158 | machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0 | 156 | machine-$(CONFIG_ARCH_STMP37XX) := stmp37xx |
159 | machine-$(CONFIG_ARCH_W90X900) := w90x900 | 157 | machine-$(CONFIG_ARCH_U300) := u300 |
158 | machine-$(CONFIG_ARCH_VERSATILE) := versatile | ||
159 | machine-$(CONFIG_ARCH_W90X900) := w90x900 | ||
160 | machine-$(CONFIG_FOOTBRIDGE) := footbridge | ||
161 | |||
162 | # Platform directory name. This list is sorted alphanumerically | ||
163 | # by CONFIG_* macro name. | ||
164 | plat-$(CONFIG_ARCH_MXC) := mxc | ||
165 | plat-$(CONFIG_ARCH_OMAP) := omap | ||
166 | plat-$(CONFIG_PLAT_IOP) := iop | ||
167 | plat-$(CONFIG_PLAT_ORION) := orion | ||
168 | plat-$(CONFIG_PLAT_PXA) := pxa | ||
169 | plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx s3c | ||
170 | plat-$(CONFIG_PLAT_S3C64XX) := s3c64xx s3c | ||
171 | plat-$(CONFIG_ARCH_STMP3XXX) := stmp3xxx | ||
160 | 172 | ||
161 | ifeq ($(CONFIG_ARCH_EBSA110),y) | 173 | ifeq ($(CONFIG_ARCH_EBSA110),y) |
162 | # This is what happens if you forget the IOCS16 line. | 174 | # This is what happens if you forget the IOCS16 line. |