blob: 190fd8e56155913ecf24cd287cded95e33d6f3f6 [file] [log] [blame]
Simon Glass4ea4b622012-11-05 12:16:24 +00001# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
Gabe Black7f8574c2012-10-12 14:26:11 +00002#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02003# SPDX-License-Identifier: GPL-2.0+
Gabe Black7f8574c2012-10-12 14:26:11 +00004#
5
6include $(TOPDIR)/config.mk
7
8LIB = $(obj)libcbfs.o
9
10COBJS-$(CONFIG_CMD_CBFS) := cbfs.o
11
12SRCS := $(COBJS-y:.o=.c)
13OBJS := $(addprefix $(obj),$(COBJS-y))
14
15all: $(LIB)
16
17$(LIB): $(obj).depend $(OBJS)
18 $(call cmd_link_o_target, $(OBJS))
19
20
21#########################################################################
22
23# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
25
26sinclude $(obj).depend
27
28#########################################################################