X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=api%2FMakefile;h=0e99f741b7890f1e84776b6fca903807cd4251ba;hb=dbe20fc79736d4f99a9bfaafeae600c9348504df;hp=42168920725c6ff938f25963e4dcd0c557f72b7b;hpb=20c93959330aba8b5bbdbfde1ef319e99eba235d;p=u-boot diff --git a/api/Makefile b/api/Makefile index 4216892072..0e99f741b7 100644 --- a/api/Makefile +++ b/api/Makefile @@ -22,16 +22,17 @@ include $(TOPDIR)/config.mk -LIB = $(obj)libapi.a +LIB = $(obj)libapi.o -COBJS-$(CONFIG_API) += api.o api_net.o api_storage.o api_platform-$(ARCH).o +COBJS-$(CONFIG_API) += api.o api_display.o api_net.o api_storage.o \ + api_platform-$(ARCH).o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) $(LIB): $(obj).depend $(OBJS) - $(AR) $(ARFLAGS) $@ $(OBJS) + $(call cmd_link_o_target, $(OBJS)) # defines $(obj).depend target include $(SRCTREE)/rules.mk