]> git.ipfire.org Git - thirdparty/u-boot.git/blame - api/Makefile
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / api / Makefile
CommitLineData
500856eb
RJ
1#
2# (C) Copyright 2007 Semihalf
3#
1a459660 4# SPDX-License-Identifier: GPL-2.0+
500856eb
RJ
5#
6
7include $(TOPDIR)/config.mk
8
6d8962e8 9LIB = $(obj)libapi.o
500856eb 10
a2a5729f
CLC
11COBJS-$(CONFIG_API) += api.o api_display.o api_net.o api_storage.o \
12 api_platform-$(ARCH).o
500856eb 13
0dc1fc22 14COBJS := $(COBJS-y)
500856eb
RJ
15SRCS := $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17
500856eb 18$(LIB): $(obj).depend $(OBJS)
6d8962e8 19 $(call cmd_link_o_target, $(OBJS))
500856eb
RJ
20
21# defines $(obj).depend target
22include $(SRCTREE)/rules.mk
23
24sinclude $(obj).depend