Makefile (5a2dd72abdae75ea2960145e0549635ce4e0be96) Makefile (26584853a44c58f3d6ac7360d697a2ddcd1a3efa)
1#
2# linux/arch/arm/boot/compressed/Makefile
3#
4# create a compressed vmlinuz image from the original vmlinux
5#
6
7HEAD = head.o
8OBJS = misc.o

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

35ifeq ($(CONFIG_CPU_XSCALE),y)
36OBJS += head-xscale.o
37endif
38
39ifeq ($(CONFIG_PXA_SHARPSL),y)
40OBJS += head-sharpsl.o
41endif
42
1#
2# linux/arch/arm/boot/compressed/Makefile
3#
4# create a compressed vmlinuz image from the original vmlinux
5#
6
7HEAD = head.o
8OBJS = misc.o

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

35ifeq ($(CONFIG_CPU_XSCALE),y)
36OBJS += head-xscale.o
37endif
38
39ifeq ($(CONFIG_PXA_SHARPSL),y)
40OBJS += head-sharpsl.o
41endif
42
43ifeq ($(CONFIG_CPU_BIG_ENDIAN),y)
43ifeq ($(CONFIG_CPU_ENDIAN_BE32),y)
44ifeq ($(CONFIG_CPU_CP15),y)
45OBJS += big-endian.o
46else
47# The endian should be set by h/w design.
48endif
49endif
50
51#

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

73
74EXTRA_CFLAGS := -fpic -fno-builtin
75EXTRA_AFLAGS := -Wa,-march=all
76
77# Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via
78# linker symbols. We only define initrd_phys and params_phys if the
79# machine class defined the corresponding makefile variable.
80LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR)
44ifeq ($(CONFIG_CPU_CP15),y)
45OBJS += big-endian.o
46else
47# The endian should be set by h/w design.
48endif
49endif
50
51#

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

73
74EXTRA_CFLAGS := -fpic -fno-builtin
75EXTRA_AFLAGS := -Wa,-march=all
76
77# Supply ZRELADDR, INITRD_PHYS and PARAMS_PHYS to the decompressor via
78# linker symbols. We only define initrd_phys and params_phys if the
79# machine class defined the corresponding makefile variable.
80LDFLAGS_vmlinux := --defsym zreladdr=$(ZRELADDR)
81ifeq ($(CONFIG_CPU_ENDIAN_BE8),y)
82LDFLAGS_vmlinux += --be8
83endif
81ifneq ($(INITRD_PHYS),)
82LDFLAGS_vmlinux += --defsym initrd_phys=$(INITRD_PHYS)
83endif
84ifneq ($(PARAMS_PHYS),)
85LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS)
86endif
87LDFLAGS_vmlinux += -p --no-undefined -X \
88 $(shell $(CC) $(KBUILD_CFLAGS) --print-libgcc-file-name) -T

--- 22 unchanged lines hidden ---
84ifneq ($(INITRD_PHYS),)
85LDFLAGS_vmlinux += --defsym initrd_phys=$(INITRD_PHYS)
86endif
87ifneq ($(PARAMS_PHYS),)
88LDFLAGS_vmlinux += --defsym params_phys=$(PARAMS_PHYS)
89endif
90LDFLAGS_vmlinux += -p --no-undefined -X \
91 $(shell $(CC) $(KBUILD_CFLAGS) --print-libgcc-file-name) -T

--- 22 unchanged lines hidden ---