Makefile (b0b6abe5fd28423558d8e121e77e92e779f62de1) | Makefile (53f67545c21c756d7959fb86af30899c4b43141c) |
---|---|
1# 2# linux/arch/arm/boot/compressed/Makefile 3# 4# create a compressed vmlinuz image from the original vmlinux 5# 6 7OBJS = 8 --- 75 unchanged lines hidden (view full) --- 84 85$(addprefix $(obj)/,$(libfdt_objs) atags_to_fdt.o): \ 86 $(addprefix $(obj)/,$(libfdt_hdrs)) 87 88ifeq ($(CONFIG_ARM_ATAG_DTB_COMPAT),y) 89OBJS += $(libfdt_objs) atags_to_fdt.o 90endif 91 | 1# 2# linux/arch/arm/boot/compressed/Makefile 3# 4# create a compressed vmlinuz image from the original vmlinux 5# 6 7OBJS = 8 --- 75 unchanged lines hidden (view full) --- 84 85$(addprefix $(obj)/,$(libfdt_objs) atags_to_fdt.o): \ 86 $(addprefix $(obj)/,$(libfdt_hdrs)) 87 88ifeq ($(CONFIG_ARM_ATAG_DTB_COMPAT),y) 89OBJS += $(libfdt_objs) atags_to_fdt.o 90endif 91 |
92targets := vmlinux vmlinux.lds \ 93 piggy.$(suffix_y) piggy.$(suffix_y).o \ | 92targets := vmlinux vmlinux.lds piggy_data piggy.o \ |
94 lib1funcs.o ashldi3.o bswapsdi2.o \ 95 head.o $(OBJS) 96 | 93 lib1funcs.o ashldi3.o bswapsdi2.o \ 94 head.o $(OBJS) 95 |
97clean-files += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern piggy.lz4 \ 98 lib1funcs.S ashldi3.S bswapsdi2.S $(libfdt) $(libfdt_hdrs) \ 99 hyp-stub.S | 96clean-files += piggy_data lib1funcs.S ashldi3.S bswapsdi2.S \ 97 $(libfdt) $(libfdt_hdrs) hyp-stub.S |
100 101KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING 102 103ifeq ($(CONFIG_FUNCTION_TRACER),y) 104ORIG_CFLAGS := $(KBUILD_CFLAGS) 105KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) 106endif 107 --- 55 unchanged lines hidden (view full) --- 163if [ $(words $(ZRELADDR)) -gt 1 -a "$(CONFIG_AUTO_ZRELADDR)" = "" ]; then \ 164 echo 'multiple zreladdrs: $(ZRELADDR)'; \ 165 echo 'This needs CONFIG_AUTO_ZRELADDR to be set'; \ 166 false; \ 167fi 168 169efi-obj-$(CONFIG_EFI_STUB) := $(objtree)/drivers/firmware/efi/libstub/lib.a 170 | 98 99KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING 100 101ifeq ($(CONFIG_FUNCTION_TRACER),y) 102ORIG_CFLAGS := $(KBUILD_CFLAGS) 103KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) 104endif 105 --- 55 unchanged lines hidden (view full) --- 161if [ $(words $(ZRELADDR)) -gt 1 -a "$(CONFIG_AUTO_ZRELADDR)" = "" ]; then \ 162 echo 'multiple zreladdrs: $(ZRELADDR)'; \ 163 echo 'This needs CONFIG_AUTO_ZRELADDR to be set'; \ 164 false; \ 165fi 166 167efi-obj-$(CONFIG_EFI_STUB) := $(objtree)/drivers/firmware/efi/libstub/lib.a 168 |
171$(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/$(HEAD) $(obj)/piggy.$(suffix_y).o \ | 169$(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/$(HEAD) $(obj)/piggy.o \ |
172 $(addprefix $(obj)/, $(OBJS)) $(lib1funcs) $(ashldi3) \ 173 $(bswapsdi2) $(efi-obj-y) FORCE 174 @$(check_for_multiple_zreladdr) 175 $(call if_changed,ld) 176 @$(check_for_bad_syms) 177 | 170 $(addprefix $(obj)/, $(OBJS)) $(lib1funcs) $(ashldi3) \ 171 $(bswapsdi2) $(efi-obj-y) FORCE 172 @$(check_for_multiple_zreladdr) 173 $(call if_changed,ld) 174 @$(check_for_bad_syms) 175 |
178$(obj)/piggy.$(suffix_y): $(obj)/../Image FORCE | 176$(obj)/piggy_data: $(obj)/../Image FORCE |
179 $(call if_changed,$(suffix_y)) 180 | 177 $(call if_changed,$(suffix_y)) 178 |
181$(obj)/piggy.$(suffix_y).o: $(obj)/piggy.$(suffix_y) | 179$(obj)/piggy.o: $(obj)/piggy_data |
182 183CFLAGS_font.o := -Dstatic= 184 185$(obj)/font.c: $(FONTC) 186 $(call cmd,shipped) 187 188AFLAGS_hyp-stub.o := -Wa,-march=armv7-a 189 190$(obj)/hyp-stub.S: $(srctree)/arch/$(SRCARCH)/kernel/hyp-stub.S 191 $(call cmd,shipped) | 180 181CFLAGS_font.o := -Dstatic= 182 183$(obj)/font.c: $(FONTC) 184 $(call cmd,shipped) 185 186AFLAGS_hyp-stub.o := -Wa,-march=armv7-a 187 188$(obj)/hyp-stub.S: $(srctree)/arch/$(SRCARCH)/kernel/hyp-stub.S 189 $(call cmd,shipped) |