blob: 4cf57cea79c4b8af4e4a6369b4b4fffd7506c99a [file] [log] [blame]
wdenk4483b582002-08-05 21:57:12 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2001-2006
wdenk4483b582002-08-05 21:57:12 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2002
6# Gregory E. Allen, gallen@arlut.utexas.edu
7# Matthew E. Karger, karger@arlut.utexas.edu
8# Applied Research Laboratories, The University of Texas at Austin
9#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020010# SPDX-License-Identifier: GPL-2.0+
wdenk4483b582002-08-05 21:57:12 +000011#
12
13include $(TOPDIR)/config.mk
14
Sebastien Carliera8d426f2010-11-05 15:48:07 +010015LIB = $(obj)lib$(BOARD).o
wdenk4483b582002-08-05 21:57:12 +000016
Marian Balakowiczd62379d2006-09-01 19:49:50 +020017COBJS = $(BOARD).o flash.o
wdenk4483b582002-08-05 21:57:12 +000018
Marian Balakowiczd62379d2006-09-01 19:49:50 +020019SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS))
21SOBJS := $(addprefix $(obj),$(SOBJS))
wdenk4483b582002-08-05 21:57:12 +000022
Marian Balakowiczd62379d2006-09-01 19:49:50 +020023$(LIB): $(obj).depend $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $(OBJS))
wdenk4483b582002-08-05 21:57:12 +000025
26#########################################################################
27
Marian Balakowiczd62379d2006-09-01 19:49:50 +020028# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
wdenk4483b582002-08-05 21:57:12 +000030
Marian Balakowiczd62379d2006-09-01 19:49:50 +020031sinclude $(obj).depend
wdenk4483b582002-08-05 21:57:12 +000032
33#########################################################################