blob: e2222ab67421b922e2d62d73824f0c34d8ba6a52 [file] [log] [blame]
Gabe Black27a4d072011-11-29 18:05:07 +00001#
2# Copyright (c) 2011 The Chromium OS Authors.
3# (C) Copyright 2008
4# Graeme Russ, graeme.russ@gmail.com.
5#
6# (C) Copyright 2006
7# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8#
9# (C) Copyright 2002
10# Daniel Engström, Omicron Ceti AB, daniel@omicron.se.
11#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020012# SPDX-License-Identifier: GPL-2.0+
Gabe Black27a4d072011-11-29 18:05:07 +000013#
14
15include $(TOPDIR)/config.mk
16
17LIB = $(obj)lib$(BOARD).o
18
Gabe Black27a4d072011-11-29 18:05:07 +000019SOBJS-y += coreboot_start.o
20
21SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
22OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
23
24$(LIB): $(obj).depend $(OBJS) $(SOBJS)
25 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################