|
@@ -63,7 +63,7 @@ quiet_cmd_gen = GEN $@
|
|
|
# If there's nothing to link, create empty $@ object.
|
|
|
quiet_cmd_ld_multi = LD $@
|
|
|
cmd_ld_multi = $(if $(strip $(obj-y)),\
|
|
|
- $(LD) -r -o $@ $(obj-y),rm -f $@; $(AR) rcs $@)
|
|
|
+ $(LD) -r -o $@ $(filter $(obj-y),$^),rm -f $@; $(AR) rcs $@)
|
|
|
|
|
|
# Build rules
|
|
|
$(OUTPUT)%.o: %.c FORCE
|