blob: f52d0cd2de6d784ff91bfc79aa5d92a7fa26ef02 [file] [log] [blame]
wdenkda27dcf2002-09-10 19:19:06 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2000-2006
wdenkda27dcf2002-09-10 19:19:06 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenkda27dcf2002-09-10 19:19:06 +00006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
wdenkda27dcf2002-09-10 19:19:06 +000011
David Müller (ELSOFT AG)14899222011-03-24 22:28:05 +000012COBJS := smdk2410.o
wdenk336b2bc2005-04-02 23:52:25 +000013SOBJS := lowlevel_init.o
wdenkda27dcf2002-09-10 19:19:06 +000014
Marian Balakowiczd62379d2006-09-01 19:49:50 +020015SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
wdenkda27dcf2002-09-10 19:19:06 +000021
wdenkda27dcf2002-09-10 19:19:06 +000022#########################################################################
23
Marian Balakowiczd62379d2006-09-01 19:49:50 +020024# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
wdenkda27dcf2002-09-10 19:19:06 +000026
Marian Balakowiczd62379d2006-09-01 19:49:50 +020027sinclude $(obj).depend
wdenkda27dcf2002-09-10 19:19:06 +000028
29#########################################################################