forked from luck/tmp_suning_uos_patched
9d4f13e531
We are coding the kernel link address into the makefiles, which is invisibly dependent on PAGE_OFFSET. If PAGE_OFFSET is changed, the makefiles also need to be changed. Make adjustments such that the makefiles encode just the offset from PAGE_OFFSET for the kernel link address, and use PAGE_OFFSET in the linker scripts directly. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
34 lines
786 B
Makefile
34 lines
786 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET)
|
|
|
|
# Object file lists.
|
|
|
|
obj-y := compat.o dma.o entry-armv.o entry-common.o irq.o \
|
|
process.o ptrace.o semaphore.o setup.o signal.o sys_arm.o \
|
|
time.o traps.o
|
|
|
|
obj-$(CONFIG_APM) += apm.o
|
|
obj-$(CONFIG_ARCH_ACORN) += ecard.o
|
|
obj-$(CONFIG_FOOTBRIDGE) += isa.o
|
|
obj-$(CONFIG_FIQ) += fiq.o
|
|
obj-$(CONFIG_MODULES) += armksyms.o module.o
|
|
obj-$(CONFIG_ARTHUR) += arthur.o
|
|
obj-$(CONFIG_ISA_DMA) += dma-isa.o
|
|
obj-$(CONFIG_PCI) += bios32.o
|
|
obj-$(CONFIG_SMP) += smp.o
|
|
|
|
obj-$(CONFIG_IWMMXT) += iwmmxt.o
|
|
AFLAGS_iwmmxt.o := -Wa,-mcpu=iwmmxt
|
|
|
|
ifneq ($(CONFIG_ARCH_EBSA110),y)
|
|
obj-y += io.o
|
|
endif
|
|
|
|
head-y := head.o
|
|
obj-$(CONFIG_DEBUG_LL) += debug.o
|
|
|
|
extra-y := $(head-y) init_task.o vmlinux.lds
|