2 # Copyright (c) 2011 The Chromium OS Authors.
4 # Graeme Russ, graeme.russ@gmail.com.
7 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
10 # Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
12 # SPDX-License-Identifier: GPL-2.0+
15 include $(TOPDIR)/config.mk
17 LIB = $(obj)lib$(BOARD).o
19 SOBJS-y += coreboot_start.o
21 SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
22 OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
24 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
25 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
27 #########################################################################
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
32 sinclude $(obj).depend
34 #########################################################################