blob: 955a9c558bd67660ace8bede261bfdf399eeb435 [file] [log] [blame]
Mark Jackson13b50fe2008-07-30 13:07:27 +01001#
2# Copyright (C) 2005-2006 Atmel Corporation
3#
Wolfgang Denk1a459662013-07-08 09:37:19 +02004# SPDX-License-Identifier: GPL-2.0+
Mark Jackson13b50fe2008-07-30 13:07:27 +01005
6include $(TOPDIR)/config.mk
7
Sebastien Carlier6d8962e2010-11-05 15:48:07 +01008LIB := $(obj)lib$(BOARD).o
Mark Jackson13b50fe2008-07-30 13:07:27 +01009
10COBJS := $(BOARD).o
11
12SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
13OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))
14
15$(LIB): $(obj).depend $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010016 $(call cmd_link_o_target, $(OBJS))
Mark Jackson13b50fe2008-07-30 13:07:27 +010017
18#########################################################################
19
20# defines $(obj).depend target
21include $(SRCTREE)/rules.mk
22
23sinclude $(obj).depend
24
25#########################################################################