X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=examples%2Fstandalone%2FMakefile;h=c1dfdce581d8f1823754ab8089ac1b304c52eb58;hb=9a4d50e34dde4d03f9c7c595f548d8c214d98eb7;hp=c2dd514d9391cc9d65a3b74a679b54bdc1375569;hpb=e1b4c57096b87b4ada56df4154d9acee6a59141f;p=u-boot diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile index c2dd514d93..c1dfdce581 100644 --- a/examples/standalone/Makefile +++ b/examples/standalone/Makefile @@ -50,7 +50,7 @@ BIN = $(addsuffix .bin,$(ELF)) COBJS := $(ELF:=.o) -LIB = $(obj)libstubs.a +LIB = $(obj)libstubs.o LIBAOBJS-$(ARCH) := LIBAOBJS-$(CPU) := @@ -91,7 +91,7 @@ all: $(obj).depend $(OBJS) $(LIB) $(SREC) $(BIN) $(ELF) ######################################################################### $(LIB): $(obj).depend $(LIBOBJS) - $(AR) $(ARFLAGS) $@ $(LIBOBJS) + $(call cmd_link_o_target, $(LIBOBJS)) $(ELF): $(obj)%: $(obj)%.o $(LIB)