X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=api%2FMakefile;h=0e99f741b7890f1e84776b6fca903807cd4251ba;hb=c6cef92f6397b26a541867f32beb0286a70d8e05;hp=42168920725c6ff938f25963e4dcd0c557f72b7b;hpb=20c93959330aba8b5bbdbfde1ef319e99eba235d;p=karo-tx-uboot.git 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