@@ -92,6 +92,7 @@ SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
92
92
suffix_$(CONFIG_KERNEL_GZIP) = gzip
93
93
suffix_$(CONFIG_KERNEL_LZO) = lzo
94
94
suffix_$(CONFIG_KERNEL_LZMA) = lzma
95
+ suffix_$(CONFIG_KERNEL_XZ) = xzkern
95
96
96
97
# Borrowed libfdt files for the ATAG compatibility mode
97
98
@@ -112,10 +113,12 @@ endif
112
113
113
114
targets := vmlinux vmlinux.lds \
114
115
piggy.$(suffix_y ) piggy.$(suffix_y ) .o \
115
- lib1funcs.o lib1funcs.S font.o font.c head.o misc.o $(OBJS )
116
+ lib1funcs.o lib1funcs.S ashldi3.o ashldi3.S \
117
+ font.o font.c head.o misc.o $(OBJS )
116
118
117
119
# Make sure files are removed during clean
118
- extra-y += piggy.gzip piggy.lzo piggy.lzma lib1funcs.S $(libfdt ) $(libfdt_hdrs )
120
+ extra-y += piggy.gzip piggy.lzo piggy.lzma piggy.xzkern \
121
+ lib1funcs.S ashldi3.S $(libfdt ) $(libfdt_hdrs )
119
122
120
123
ifeq ($(CONFIG_FUNCTION_TRACER ) ,y)
121
124
ORIG_CFLAGS := $(KBUILD_CFLAGS )
@@ -151,6 +154,12 @@ lib1funcs = $(obj)/lib1funcs.o
151
154
$(obj ) /lib1funcs.S : $(srctree ) /arch/$(SRCARCH ) /lib/lib1funcs.S
152
155
$(call cmd,shipped)
153
156
157
+ # For __aeabi_llsl
158
+ ashldi3 = $(obj ) /ashldi3.o
159
+
160
+ $(obj ) /ashldi3.S : $(srctree ) /arch/$(SRCARCH ) /lib/ashldi3.S
161
+ $(call cmd,shipped)
162
+
154
163
# We need to prevent any GOTOFF relocs being used with references
155
164
# to symbols in the .bss section since we cannot relocate them
156
165
# independently from the rest at run time. This can be achieved by
@@ -172,7 +181,7 @@ if [ $(words $(ZRELADDR)) -gt 1 -a "$(CONFIG_AUTO_ZRELADDR)" = "" ]; then \
172
181
fi
173
182
174
183
$(obj ) /vmlinux : $(obj ) /vmlinux.lds $(obj ) /$(HEAD ) $(obj ) /piggy.$(suffix_y ) .o \
175
- $(addprefix $(obj ) /, $(OBJS ) ) $(lib1funcs ) FORCE
184
+ $(addprefix $(obj ) /, $(OBJS ) ) $(lib1funcs ) $( ashldi3 ) FORCE
176
185
@$(check_for_multiple_zreladdr )
177
186
$(call if_changed,ld)
178
187
@$(check_for_bad_syms )
0 commit comments