2 # (C) Copyright 2007 Semihalf
4 # SPDX-License-Identifier: GPL-2.0+
7 include $(TOPDIR)/config.mk
11 COBJS-$(CONFIG_API) += api.o api_display.o api_net.o api_storage.o \
12 api_platform-$(ARCH).o
15 SRCS := $(COBJS:.o=.c)
16 OBJS := $(addprefix $(obj),$(COBJS))
18 $(LIB): $(obj).depend $(OBJS)
19 $(call cmd_link_o_target, $(OBJS))
21 # defines $(obj).depend target
22 include $(SRCTREE)/rules.mk
24 sinclude $(obj).depend