Commit 9d15e79b authored by Andreas Werner's avatar Andreas Werner
Browse files

fix ARM Build

parent 6d079432
......@@ -327,13 +327,12 @@ $(sort $(subdir-obj-y)): $(subdir-ym) ;
# Rule to compile a set of .o files into one .o file
#
ifdef builtin-target
KBUILD_ARFLAGS += $(call ar-option,c)
quiet_cmd_link_o_target = LD $@
# If the list of objects to link is empty, just create an empty built-in.o
cmd_link_o_target = $(if $(strip $(obj-y)),\
$(LD) $(ld_flags) -r -o $@ $(filter $(obj-y), $^) \
$(cmd_secanalysis),\
rm -f $@; $(AR) rs$(KBUILD_ARFLAGS) $@)
rm -f $@; $(AR) rs$(strip $(call ar-option,c)) $@)
$(builtin-target): $(obj-y) FORCE
$(call if_changed,link_o_target)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment