]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - api/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-nds32
[karo-tx-uboot.git] / api / Makefile
1 #
2 # (C) Copyright 2007 Semihalf
3 #
4 # SPDX-License-Identifier:      GPL-2.0+
5 #
6
7 include $(TOPDIR)/config.mk
8
9 LIB     = $(obj)libapi.o
10
11 COBJS-$(CONFIG_API) += api.o api_display.o api_net.o api_storage.o \
12                        api_platform-$(ARCH).o
13
14 COBJS   := $(COBJS-y)
15 SRCS    := $(COBJS:.o=.c)
16 OBJS    := $(addprefix $(obj),$(COBJS))
17
18 $(LIB): $(obj).depend $(OBJS)
19         $(call cmd_link_o_target, $(OBJS))
20
21 # defines $(obj).depend target
22 include $(SRCTREE)/rules.mk
23
24 sinclude $(obj).depend