blob: 459d7b8ab1723343e9f29801b9dbeeb50340198b [file] [log] [blame]
Wolfgang Denk7ce343e2006-10-09 00:48:57 +02001#
2# (C) Copyright 2001-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Wolfgang Denk7ce343e2006-10-09 00:48:57 +02006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
Wolfgang Denk7ce343e2006-10-09 00:48:57 +020011
12COBJS := $(BOARD).o
13
14SRCS := $(COBJS:.o=.c)
15OBJS := $(addprefix $(obj),$(COBJS))
16
17$(LIB): $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010018 $(call cmd_link_o_target, $(OBJS))
Wolfgang Denk7ce343e2006-10-09 00:48:57 +020019
Wolfgang Denk7ce343e2006-10-09 00:48:57 +020020#########################################################################
21
22# defines $(obj).depend target
23include $(SRCTREE)/rules.mk
24
25sinclude $(obj).depend
26
27#########################################################################