Makefile (83dfeedb6663ea8cdf93f41191ef313de5b7a2ba) Makefile (596b0474d3d9b1242eab713f84d8873f9887d980)
1#
2# arch/arm/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies.
6#
7# This file is subject to the terms and conditions of the GNU General Public
8# License. See the file "COPYING" in the main directory of this archive
9# for more details.
10#
11# Copyright (C) 1995-2001 by Russell King
12
13LDFLAGS_vmlinux := --no-undefined -X --pic-veneer
14ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
15LDFLAGS_vmlinux += --be8
16KBUILD_LDFLAGS_MODULE += --be8
17endif
18
1#
2# arch/arm/Makefile
3#
4# This file is included by the global makefile so that you can add your own
5# architecture-specific flags and dependencies.
6#
7# This file is subject to the terms and conditions of the GNU General Public
8# License. See the file "COPYING" in the main directory of this archive
9# for more details.
10#
11# Copyright (C) 1995-2001 by Russell King
12
13LDFLAGS_vmlinux := --no-undefined -X --pic-veneer
14ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
15LDFLAGS_vmlinux += --be8
16KBUILD_LDFLAGS_MODULE += --be8
17endif
18
19ifeq ($(CONFIG_ARM_MODULE_PLTS),y)
20KBUILD_LDS_MODULE += $(srctree)/arch/arm/kernel/module.lds
21endif
22
23GZFLAGS :=-9
24#KBUILD_CFLAGS +=-pipe
25
26# Never generate .eh_frame
27KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
28
29# This should work on most of the modern platforms
30KBUILD_DEFCONFIG := multi_v7_defconfig

--- 103 unchanged lines hidden (view full) ---

134
135CHECKFLAGS += -D__arm__
136
137#Default value
138head-y := arch/arm/kernel/head$(MMUEXT).o
139
140# Text offset. This list is sorted numerically by address in order to
141# provide a means to avoid/resolve conflicts in multi-arch kernels.
19GZFLAGS :=-9
20#KBUILD_CFLAGS +=-pipe
21
22# Never generate .eh_frame
23KBUILD_CFLAGS += $(call cc-option,-fno-dwarf2-cfi-asm)
24
25# This should work on most of the modern platforms
26KBUILD_DEFCONFIG := multi_v7_defconfig

--- 103 unchanged lines hidden (view full) ---

130
131CHECKFLAGS += -D__arm__
132
133#Default value
134head-y := arch/arm/kernel/head$(MMUEXT).o
135
136# Text offset. This list is sorted numerically by address in order to
137# provide a means to avoid/resolve conflicts in multi-arch kernels.
142# Note: the 32kB below this value is reserved for use by the kernel
143# during boot, and this offset is critical to the functioning of
144# kexec-tools.
145textofs-y := 0x00008000
146# We don't want the htc bootloader to corrupt kernel during resume
147textofs-$(CONFIG_PM_H1940) := 0x00108000
148# RTD1195 has Boot ROM at start of address space
149textofs-$(CONFIG_ARCH_REALTEK) := 0x00108000
150# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
151ifeq ($(CONFIG_ARCH_SA1100),y)
152textofs-$(CONFIG_SA1111) := 0x00208000

--- 215 unchanged lines hidden ---
138textofs-y := 0x00008000
139# We don't want the htc bootloader to corrupt kernel during resume
140textofs-$(CONFIG_PM_H1940) := 0x00108000
141# RTD1195 has Boot ROM at start of address space
142textofs-$(CONFIG_ARCH_REALTEK) := 0x00108000
143# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory
144ifeq ($(CONFIG_ARCH_SA1100),y)
145textofs-$(CONFIG_SA1111) := 0x00208000

--- 215 unchanged lines hidden ---