Blame view
arch/arm/Makefile
11.3 KB
1da177e4c Linux-2.6.12-rc2 |
1 2 3 |
# # arch/arm/Makefile # |
4f1933620 kbuild: change kb... |
4 5 6 |
# This file is included by the global makefile so that you can add your own # architecture-specific flags and dependencies. # |
1da177e4c Linux-2.6.12-rc2 |
7 8 9 10 11 12 13 |
# This file is subject to the terms and conditions of the GNU General Public # License. See the file "COPYING" in the main directory of this archive # for more details. # # Copyright (C) 1995-2001 by Russell King LDFLAGS_vmlinux :=-p --no-undefined -X |
26584853a Add core support ... |
14 15 16 |
ifeq ($(CONFIG_CPU_ENDIAN_BE8),y) LDFLAGS_vmlinux += --be8 endif |
51b563fc9 arm, cris, mips, ... |
17 |
|
dc810efb0 ARM: 6740/1: Plac... |
18 |
OBJCOPYFLAGS :=-O binary -R .comment -S |
1da177e4c Linux-2.6.12-rc2 |
19 |
GZFLAGS :=-9 |
a0f97e06a kbuild: enable 'm... |
20 |
#KBUILD_CFLAGS +=-pipe |
5636810d6 [ARM] 3982/2: Exp... |
21 |
# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: |
a0f97e06a kbuild: enable 'm... |
22 |
KBUILD_CFLAGS +=$(call cc-option,-marm,) |
1da177e4c Linux-2.6.12-rc2 |
23 |
|
bd365591d ARM: 6328/1: Buil... |
24 25 |
# Never generate .eh_frame KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm) |
1da177e4c Linux-2.6.12-rc2 |
26 27 28 |
# Do not use arch/arm/defconfig - it's always outdated. # Select a platform tht is kept up-to-date KBUILD_DEFCONFIG := versatile_defconfig |
3dbda77e6 trivial: fix typo... |
29 |
# defines filename extension depending memory management type. |
f8c07de6b [ARM] nommu: add ... |
30 31 32 |
ifeq ($(CONFIG_MMU),) MMUEXT := -nommu endif |
1da177e4c Linux-2.6.12-rc2 |
33 |
ifeq ($(CONFIG_FRAME_POINTER),y) |
a0f97e06a kbuild: enable 'm... |
34 |
KBUILD_CFLAGS +=-fno-omit-frame-pointer -mapcs -mno-sched-prolog |
1da177e4c Linux-2.6.12-rc2 |
35 |
endif |
c743f3801 ARM: initial stac... |
36 37 38 |
ifeq ($(CONFIG_CC_STACKPROTECTOR),y) KBUILD_CFLAGS +=-fstack-protector endif |
1da177e4c Linux-2.6.12-rc2 |
39 |
ifeq ($(CONFIG_CPU_BIG_ENDIAN),y) |
06c5040cd kbuild: enable 'm... |
40 |
KBUILD_CPPFLAGS += -mbig-endian |
1da177e4c Linux-2.6.12-rc2 |
41 42 43 |
AS += -EB LD += -EB else |
06c5040cd kbuild: enable 'm... |
44 |
KBUILD_CPPFLAGS += -mlittle-endian |
1da177e4c Linux-2.6.12-rc2 |
45 46 47 48 49 50 51 52 53 54 |
AS += -EL LD += -EL endif comma = , # This selects which instruction set is used. # Note that GCC does not numerically define an architecture version # macro, but instead defines a whole series of macros which makes # testing for a specific architecture or later rather impossible. |
76ebc6a42 [ARM] 5269/1: ARM... |
55 |
arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-option,-march=armv7-a,-march=armv5t -Wa$(comma)-march=armv7-a) |
1da177e4c Linux-2.6.12-rc2 |
56 |
arch-$(CONFIG_CPU_32v6) :=-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6,-march=armv5t -Wa$(comma)-march=armv6) |
23688e999 [ARM] armv7: add ... |
57 58 59 |
# Only override the compiler option if ARMv6. The ARMv6K extensions are # always available in ARMv7 ifeq ($(CONFIG_CPU_32v6),y) |
4a5f79e7e [ARM SMP] Add con... |
60 |
arch-$(CONFIG_CPU_32v6K) :=-D__LINUX_ARM_ARCH__=6 $(call cc-option,-march=armv6k,-march=armv5t -Wa$(comma)-march=armv6k) |
23688e999 [ARM] armv7: add ... |
61 |
endif |
260e98edc [ARM] 3761/1: fix... |
62 63 |
arch-$(CONFIG_CPU_32v5) :=-D__LINUX_ARM_ARCH__=5 $(call cc-option,-march=armv5te,-march=armv4t) arch-$(CONFIG_CPU_32v4T) :=-D__LINUX_ARM_ARCH__=4 -march=armv4t |
1da177e4c Linux-2.6.12-rc2 |
64 65 66 67 68 69 |
arch-$(CONFIG_CPU_32v4) :=-D__LINUX_ARM_ARCH__=4 -march=armv4 arch-$(CONFIG_CPU_32v3) :=-D__LINUX_ARM_ARCH__=3 -march=armv3 # This selects how we optimise for the processor. tune-$(CONFIG_CPU_ARM610) :=-mtune=arm610 tune-$(CONFIG_CPU_ARM710) :=-mtune=arm710 |
07e0da78a [ARM] nommu: add ... |
70 |
tune-$(CONFIG_CPU_ARM7TDMI) :=-mtune=arm7tdmi |
1da177e4c Linux-2.6.12-rc2 |
71 |
tune-$(CONFIG_CPU_ARM720T) :=-mtune=arm7tdmi |
b731c3118 [ARM] nommu: add ... |
72 |
tune-$(CONFIG_CPU_ARM740T) :=-mtune=arm7tdmi |
43f5f0146 [ARM] nommu: add ... |
73 |
tune-$(CONFIG_CPU_ARM9TDMI) :=-mtune=arm9tdmi |
d60674eb5 [ARM] nommu: add ... |
74 |
tune-$(CONFIG_CPU_ARM940T) :=-mtune=arm9tdmi |
e6bb83fd2 [ARM] 5176/1: arm... |
75 |
tune-$(CONFIG_CPU_ARM946E) :=$(call cc-option,-mtune=arm9e,-mtune=arm9tdmi) |
1da177e4c Linux-2.6.12-rc2 |
76 77 78 79 |
tune-$(CONFIG_CPU_ARM920T) :=-mtune=arm9tdmi tune-$(CONFIG_CPU_ARM922T) :=-mtune=arm9tdmi tune-$(CONFIG_CPU_ARM925T) :=-mtune=arm9tdmi tune-$(CONFIG_CPU_ARM926T) :=-mtune=arm9tdmi |
28853ac8f ARM: Add support ... |
80 |
tune-$(CONFIG_CPU_FA526) :=-mtune=arm9tdmi |
1da177e4c Linux-2.6.12-rc2 |
81 82 83 |
tune-$(CONFIG_CPU_SA110) :=-mtune=strongarm110 tune-$(CONFIG_CPU_SA1100) :=-mtune=strongarm1100 tune-$(CONFIG_CPU_XSCALE) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale |
23bdf86aa [ARM] 3377/2: add... |
84 |
tune-$(CONFIG_CPU_XSC3) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale |
b71b9effb [ARM] Feroceon: p... |
85 |
tune-$(CONFIG_CPU_FEROCEON) :=$(call cc-option,-mtune=marvell-f,-mtune=xscale) |
cd26f45bf [ARM] 2970/1: Use... |
86 |
tune-$(CONFIG_CPU_V6) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm) |
e399b1a4e ARM: v6k: introdu... |
87 |
tune-$(CONFIG_CPU_V6K) :=$(call cc-option,-mtune=arm1136j-s,-mtune=strongarm) |
1da177e4c Linux-2.6.12-rc2 |
88 |
|
704bdda03 [ARM] 3107/3: ARM... |
89 |
ifeq ($(CONFIG_AEABI),y) |
c7fd84424 [ARM] 3484/1: Cor... |
90 |
CFLAGS_ABI :=-mabi=aapcs-linux -mno-thumb-interwork |
704bdda03 [ARM] 3107/3: ARM... |
91 |
else |
c28a814f2 [PATCH] ARM: 2778... |
92 |
CFLAGS_ABI :=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) $(call cc-option,-mno-thumb-interwork,) |
704bdda03 [ARM] 3107/3: ARM... |
93 |
endif |
adf8b37ba [ARM] 5386/2: unw... |
94 95 96 |
ifeq ($(CONFIG_ARM_UNWIND),y) CFLAGS_ABI +=-funwind-tables endif |
16c79651a Thumb-2: Add Thum... |
97 |
ifeq ($(CONFIG_THUMB2_KERNEL),y) |
c540b9ff0 ARM: 5904/1: ARM:... |
98 |
AFLAGS_AUTOIT :=$(call as-option,-Wa$(comma)-mimplicit-it=always,-Wa$(comma)-mauto-it) |
16c79651a Thumb-2: Add Thum... |
99 100 101 |
AFLAGS_NOWARN :=$(call as-option,-Wa$(comma)-mno-warn-deprecated,-Wa$(comma)-W) CFLAGS_THUMB2 :=-mthumb $(AFLAGS_AUTOIT) $(AFLAGS_NOWARN) AFLAGS_THUMB2 :=$(CFLAGS_THUMB2) -Wa$(comma)-mthumb |
6f685c5cd ARM: 6781/1: Thum... |
102 103 104 105 |
# Work around buggy relocation from gas if requested: ifeq ($(CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11),y) CFLAGS_MODULE +=-fno-optimize-sibling-calls endif |
16c79651a Thumb-2: Add Thum... |
106 |
endif |
704bdda03 [ARM] 3107/3: ARM... |
107 |
# Need -Uarm for gcc < 3.x |
16c79651a Thumb-2: Add Thum... |
108 109 |
KBUILD_CFLAGS +=$(CFLAGS_ABI) $(CFLAGS_THUMB2) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm KBUILD_AFLAGS +=$(CFLAGS_ABI) $(AFLAGS_THUMB2) $(arch-y) $(tune-y) -include asm/unified.h -msoft-float |
1da177e4c Linux-2.6.12-rc2 |
110 111 112 113 |
CHECKFLAGS += -D__arm__ #Default value |
75d90832d [ARM] nommu: star... |
114 |
head-y := arch/arm/kernel/head$(MMUEXT).o arch/arm/kernel/init_task.o |
9d4f13e53 [ARM] Make kernel... |
115 |
textofs-y := 0x00008000 |
b4175b899 [ARM] sort machin... |
116 |
textofs-$(CONFIG_ARCH_CLPS711X) := 0x00028000 |
c4761b69f ARM: S3C24XX: Loc... |
117 118 |
# We don't want the htc bootloader to corrupt kernel during resume textofs-$(CONFIG_PM_H1940) := 0x00108000 |
1da177e4c Linux-2.6.12-rc2 |
119 |
# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory |
b4175b899 [ARM] sort machin... |
120 121 |
ifeq ($(CONFIG_ARCH_SA1100),y) textofs-$(CONFIG_SA1111) := 0x00208000 |
1da177e4c Linux-2.6.12-rc2 |
122 |
endif |
9e775ad19 ARM: 7012/1: Set ... |
123 124 125 |
textofs-$(CONFIG_ARCH_MSM7X30) := 0x00208000 textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000 |
b4175b899 [ARM] sort machin... |
126 127 128 |
# Machine directory name. This list is sorted alphanumerically # by CONFIG_* macro name. |
b4175b899 [ARM] sort machin... |
129 |
machine-$(CONFIG_ARCH_AT91) := at91 |
6288e28dc ARM: 5641/1: bcmr... |
130 |
machine-$(CONFIG_ARCH_BCMRING) := bcmring |
b4175b899 [ARM] sort machin... |
131 |
machine-$(CONFIG_ARCH_CLPS711X) := clps711x |
d94f944e1 ARM: cns3xxx: Add... |
132 |
machine-$(CONFIG_ARCH_CNS3XXX) := cns3xxx |
b4175b899 [ARM] sort machin... |
133 |
machine-$(CONFIG_ARCH_DAVINCI) := davinci |
edabd38e1 ARM: add base sup... |
134 |
machine-$(CONFIG_ARCH_DOVE) := dove |
b4175b899 [ARM] sort machin... |
135 136 137 138 |
machine-$(CONFIG_ARCH_EBSA110) := ebsa110 machine-$(CONFIG_ARCH_EP93XX) := ep93xx machine-$(CONFIG_ARCH_GEMINI) := gemini machine-$(CONFIG_ARCH_H720X) := h720x |
220e6cf7b ARM: add Highbank... |
139 |
machine-$(CONFIG_ARCH_HIGHBANK) := highbank |
b4175b899 [ARM] sort machin... |
140 141 142 143 144 145 146 147 148 |
machine-$(CONFIG_ARCH_INTEGRATOR) := integrator machine-$(CONFIG_ARCH_IOP13XX) := iop13xx machine-$(CONFIG_ARCH_IOP32X) := iop32x machine-$(CONFIG_ARCH_IOP33X) := iop33x machine-$(CONFIG_ARCH_IXP2000) := ixp2000 machine-$(CONFIG_ARCH_IXP23XX) := ixp23xx machine-$(CONFIG_ARCH_IXP4XX) := ixp4xx machine-$(CONFIG_ARCH_KIRKWOOD) := kirkwood machine-$(CONFIG_ARCH_KS8695) := ks8695 |
408059495 ARM: Add support ... |
149 |
machine-$(CONFIG_ARCH_LPC32XX) := lpc32xx |
b4175b899 [ARM] sort machin... |
150 151 152 |
machine-$(CONFIG_ARCH_MMP) := mmp machine-$(CONFIG_ARCH_MSM) := msm machine-$(CONFIG_ARCH_MV78XX0) := mv78xx0 |
ae4fa7f66 ARM i.MX: allow t... |
153 |
machine-$(CONFIG_ARCH_IMX_V4_V5) := imx |
a89cf59b5 arm/imx: merge i.... |
154 |
machine-$(CONFIG_ARCH_IMX_V6_V7) := imx |
b996b5830 mxc: Add support ... |
155 |
machine-$(CONFIG_ARCH_MX5) := mx5 |
1d3f33d54 ARM: mxs: Add bui... |
156 |
machine-$(CONFIG_ARCH_MXS) := mxs |
b4175b899 [ARM] sort machin... |
157 |
machine-$(CONFIG_ARCH_NETX) := netx |
28ad94ec6 [ARM] 5590/1: Add... |
158 |
machine-$(CONFIG_ARCH_NOMADIK) := nomadik |
b4175b899 [ARM] sort machin... |
159 160 161 |
machine-$(CONFIG_ARCH_OMAP1) := omap1 machine-$(CONFIG_ARCH_OMAP2) := omap2 machine-$(CONFIG_ARCH_OMAP3) := omap2 |
949abd84c Merge branch 'for... |
162 |
machine-$(CONFIG_ARCH_OMAP4) := omap2 |
b4175b899 [ARM] sort machin... |
163 |
machine-$(CONFIG_ARCH_ORION5X) := orion5x |
af75655c0 picoxcell: suppor... |
164 |
machine-$(CONFIG_ARCH_PICOXCELL) := picoxcell |
b4175b899 [ARM] sort machin... |
165 |
machine-$(CONFIG_ARCH_PNX4008) := pnx4008 |
02c981c07 ARM: CSR: Adding ... |
166 |
machine-$(CONFIG_ARCH_PRIMA2) := prima2 |
b4175b899 [ARM] sort machin... |
167 168 169 |
machine-$(CONFIG_ARCH_PXA) := pxa machine-$(CONFIG_ARCH_REALVIEW) := realview machine-$(CONFIG_ARCH_RPC) := rpc |
632b7cf6c ARM: mach-s3c2400... |
170 |
machine-$(CONFIG_ARCH_S3C2410) := s3c2410 s3c2412 s3c2416 s3c2440 s3c2443 |
431107ea5 ARM: S3C64XX: Mer... |
171 |
machine-$(CONFIG_ARCH_S3C64XX) := s3c64xx |
49b7a491b ARM: S5P64X0: Upd... |
172 |
machine-$(CONFIG_ARCH_S5P64X0) := s5p64x0 |
acc84707d ARM: SAMSUNG: mov... |
173 |
machine-$(CONFIG_ARCH_S5PC100) := s5pc100 |
170f4e425 ARM: S5PV210: Upd... |
174 |
machine-$(CONFIG_ARCH_S5PV210) := s5pv210 |
830145796 ARM: EXYNOS: Add ... |
175 |
machine-$(CONFIG_ARCH_EXYNOS4) := exynos |
b4175b899 [ARM] sort machin... |
176 177 |
machine-$(CONFIG_ARCH_SA1100) := sa1100 machine-$(CONFIG_ARCH_SHARK) := shark |
c793c1b0c ARM: mach-shmobil... |
178 |
machine-$(CONFIG_ARCH_SHMOBILE) := shmobile |
c5f800656 [ARM] tegra: init... |
179 |
machine-$(CONFIG_ARCH_TEGRA) := tegra |
d98aac759 [ARM] 5480/1: U30... |
180 |
machine-$(CONFIG_ARCH_U300) := u300 |
850265e84 ARM: 5834/1: ARM:... |
181 |
machine-$(CONFIG_ARCH_U8500) := ux500 |
b4175b899 [ARM] sort machin... |
182 |
machine-$(CONFIG_ARCH_VERSATILE) := versatile |
ceade897f ARM: Add Versatil... |
183 |
machine-$(CONFIG_ARCH_VEXPRESS) := vexpress |
21f47fbc5 ARM: 6597/1: Add ... |
184 |
machine-$(CONFIG_ARCH_VT8500) := vt8500 |
b4175b899 [ARM] sort machin... |
185 186 |
machine-$(CONFIG_ARCH_W90X900) := w90x900 machine-$(CONFIG_FOOTBRIDGE) := footbridge |
cee37e501 ARM: 6016/1: ST S... |
187 188 189 190 |
machine-$(CONFIG_MACH_SPEAR300) := spear3xx machine-$(CONFIG_MACH_SPEAR310) := spear3xx machine-$(CONFIG_MACH_SPEAR320) := spear3xx machine-$(CONFIG_MACH_SPEAR600) := spear6xx |
b85a3ef4a ARM: Xilinx: Addi... |
191 |
machine-$(CONFIG_ARCH_ZYNQ) := zynq |
b4175b899 [ARM] sort machin... |
192 193 194 195 196 |
# Platform directory name. This list is sorted alphanumerically # by CONFIG_* macro name. plat-$(CONFIG_ARCH_MXC) := mxc plat-$(CONFIG_ARCH_OMAP) := omap |
882d01f96 Merge branch 'for... |
197 |
plat-$(CONFIG_ARCH_S3C64XX) := samsung |
b85a3ef4a ARM: Xilinx: Addi... |
198 |
plat-$(CONFIG_ARCH_ZYNQ) := versatile |
b4175b899 [ARM] sort machin... |
199 |
plat-$(CONFIG_PLAT_IOP) := iop |
59b559d7a ARM: 5786/1: Intr... |
200 |
plat-$(CONFIG_PLAT_NOMADIK) := nomadik |
b4175b899 [ARM] sort machin... |
201 202 |
plat-$(CONFIG_PLAT_ORION) := orion plat-$(CONFIG_PLAT_PXA) := pxa |
7965b214b ARM: SAMSUNG: Eli... |
203 |
plat-$(CONFIG_PLAT_S3C24XX) := s3c24xx samsung |
7965b214b ARM: SAMSUNG: Eli... |
204 |
plat-$(CONFIG_PLAT_S5P) := s5p samsung |
cee37e501 ARM: 6016/1: ST S... |
205 |
plat-$(CONFIG_PLAT_SPEAR) := spear |
f4b8b319b ARM: Realview/Ver... |
206 |
plat-$(CONFIG_PLAT_VERSATILE) := versatile |
1da177e4c Linux-2.6.12-rc2 |
207 208 209 210 211 212 213 |
ifeq ($(CONFIG_ARCH_EBSA110),y) # This is what happens if you forget the IOCS16 line. # PCMCIA cards stop working. CFLAGS_3c589_cs.o :=-DISA_SIXTEEN_BIT_PERIPHERAL export CFLAGS_3c589_cs.o endif |
9d4f13e53 [ARM] Make kernel... |
214 215 |
# The byte offset of the kernel image in RAM from the start of RAM. TEXT_OFFSET := $(textofs-y) |
1da177e4c Linux-2.6.12-rc2 |
216 |
|
f44f82e8a [ARM] Add support... |
217 |
# The first directory contains additional information for the boot setup code |
1da177e4c Linux-2.6.12-rc2 |
218 |
ifneq ($(machine-y),) |
f44f82e8a [ARM] Add support... |
219 |
MACHINE := arch/arm/mach-$(word 1,$(machine-y))/ |
1da177e4c Linux-2.6.12-rc2 |
220 221 222 |
else MACHINE := endif |
a21765a70 [ARM] 4157/2: S3C... |
223 |
|
f44f82e8a [ARM] Add support... |
224 225 226 227 228 229 230 231 |
machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y)) platdirs := $(patsubst %,arch/arm/plat-%/,$(plat-y)) ifeq ($(KBUILD_SRC),) KBUILD_CPPFLAGS += $(patsubst %,-I%include,$(machdirs) $(platdirs)) else KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs) $(platdirs)) endif |
f8c07de6b [ARM] nommu: add ... |
232 |
export TEXT_OFFSET GZFLAGS MMUEXT |
1da177e4c Linux-2.6.12-rc2 |
233 234 235 236 237 238 |
# Do we have FASTFPE? FASTFPE :=arch/arm/fastfpe ifeq ($(FASTFPE),$(wildcard $(FASTFPE))) FASTFPE_OBJ :=$(FASTFPE)/ endif |
1da177e4c Linux-2.6.12-rc2 |
239 240 241 |
core-$(CONFIG_FPE_NWFPE) += arch/arm/nwfpe/ core-$(CONFIG_FPE_FASTFPE) += $(FASTFPE_OBJ) core-$(CONFIG_VFP) += arch/arm/vfp/ |
c62d0f2ac ARM: link board s... |
242 243 244 |
# If we have a machine-specific directory, then include it in the build. core-y += arch/arm/kernel/ arch/arm/mm/ arch/arm/common/ core-y += $(machdirs) $(platdirs) |
1da177e4c Linux-2.6.12-rc2 |
245 |
drivers-$(CONFIG_OPROFILE) += arch/arm/oprofile/ |
1da177e4c Linux-2.6.12-rc2 |
246 |
|
30c2f90b6 [ARM] 3097/1: cha... |
247 |
libs-y := arch/arm/lib/ $(libs-y) |
1da177e4c Linux-2.6.12-rc2 |
248 249 250 |
# Default target when executing plain make ifeq ($(CONFIG_XIP_KERNEL),y) |
51342d712 [ARM] Add KBUILD_... |
251 |
KBUILD_IMAGE := xipImage |
1da177e4c Linux-2.6.12-rc2 |
252 |
else |
51342d712 [ARM] Add KBUILD_... |
253 |
KBUILD_IMAGE := zImage |
1da177e4c Linux-2.6.12-rc2 |
254 |
endif |
51342d712 [ARM] Add KBUILD_... |
255 |
all: $(KBUILD_IMAGE) |
1da177e4c Linux-2.6.12-rc2 |
256 |
boot := arch/arm/boot |
66206536f arm: move mach-ty... |
257 258 |
archprepare: $(Q)$(MAKE) $(build)=arch/arm/tools include/generated/mach-types.h |
1da177e4c Linux-2.6.12-rc2 |
259 260 261 262 263 264 |
# Convert bzImage to zImage bzImage: zImage zImage Image xipImage bootpImage uImage: vmlinux $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ |
a65d29225 ARM: add 'uinstal... |
265 |
zinstall uinstall install: vmlinux |
1da177e4c Linux-2.6.12-rc2 |
266 |
$(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ |
5fd1a2ed0 arm/dt: Add dtb m... |
267 268 269 270 271 |
%.dtb: $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ dtbs: $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/$@ |
1da177e4c Linux-2.6.12-rc2 |
272 273 274 275 276 277 278 |
# We use MRPROPER_FILES and CLEAN_FILES now archclean: $(Q)$(MAKE) $(clean)=$(boot) # My testing targets (bypasses dependencies) bp:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $(boot)/bootpImage i zi:; $(Q)$(MAKE) $(build)=$(boot) MACHINE=$(MACHINE) $@ |
1da177e4c Linux-2.6.12-rc2 |
279 280 281 282 283 |
define archhelp echo '* zImage - Compressed kernel image (arch/$(ARCH)/boot/zImage)' echo ' Image - Uncompressed kernel image (arch/$(ARCH)/boot/Image)' echo '* xipImage - XIP kernel image, if configured (arch/$(ARCH)/boot/xipImage)' |
a4f14bace [ARM] 4853/1: inc... |
284 |
echo ' uImage - U-Boot wrapped zImage' |
1da177e4c Linux-2.6.12-rc2 |
285 286 |
echo ' bootpImage - Combined zImage and initial RAM disk' echo ' (supply initrd image via make variable INITRD=<path>)' |
5fd1a2ed0 arm/dt: Add dtb m... |
287 |
echo ' dtbs - Build device tree blobs for enabled boards' |
1da177e4c Linux-2.6.12-rc2 |
288 289 |
echo ' install - Install uncompressed kernel' echo ' zinstall - Install compressed kernel' |
a65d29225 ARM: add 'uinstal... |
290 |
echo ' uinstall - Install U-Boot wrapped compressed kernel' |
caa27b66b kbuild: use INSTA... |
291 292 |
echo ' Install using (your) ~/bin/$(INSTALLKERNEL) or' echo ' (distribution) /sbin/$(INSTALLKERNEL) or' |
1da177e4c Linux-2.6.12-rc2 |
293 294 |
echo ' install to $$(INSTALL_PATH) and run lilo' endef |