Gabe Black | 27a4d07 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 1 | # |
| 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 Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 12 | # SPDX-License-Identifier: GPL-2.0+ |
Gabe Black | 27a4d07 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 13 | # |
| 14 | |
| 15 | include $(TOPDIR)/config.mk |
| 16 | |
| 17 | LIB = $(obj)lib$(BOARD).o |
| 18 | |
Gabe Black | 27a4d07 | 2011-11-29 18:05:07 +0000 | [diff] [blame] | 19 | SOBJS-y += coreboot_start.o |
| 20 | |
| 21 | SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) |
| 22 | OBJS := $(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 |
| 30 | include $(SRCTREE)/rules.mk |
| 31 | |
| 32 | sinclude $(obj).depend |
| 33 | |
| 34 | ######################################################################### |