blob: 3909447de5ee5098073d03dbbfd92e5e568ab71e [file] [log] [blame]
Markus Hubigba13f4e2012-08-07 17:43:23 +02001#
2# (C) Copyright 2003-2008
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
6# Stelian Pop <stelian@popies.net>
7# Lead Tech Design <www.leadtechdesign.com>
8#
9# (C) Copyright 2012
10# Markus Hubig <mhubig@imko.de>
11# IMKO GmbH <www.imko.de>
12#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020013# SPDX-License-Identifier: GPL-2.0+
Markus Hubigba13f4e2012-08-07 17:43:23 +020014#
15
16include $(TOPDIR)/config.mk
17
18LIB = $(obj)lib$(BOARD).o
19
20COBJS-y += stamp9g20.o
21COBJS-y += led.o
22
23SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
24OBJS := $(addprefix $(obj),$(COBJS-y))
25SOBJS := $(addprefix $(obj),$(SOBJS))
26
27$(LIB): $(obj).depend $(OBJS) $(SOBJS)
28 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
29
30#########################################################################
31
32# defines $(obj).depend target
33include $(SRCTREE)/rules.mk
34
35sinclude $(obj).depend
36
37#########################################################################