blob: 3190a115f0d9def17b8435aaa56ebfb39c50269f [file] [log] [blame]
wdenk57b2d802003-06-27 21:31:46 +00001
wdenke85390d2002-04-01 14:29:03 +00002#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003# (C) Copyright 2000-2006
wdenke85390d2002-04-01 14:29:03 +00004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
wdenke85390d2002-04-01 14:29:03 +00007#
8
9include $(TOPDIR)/config.mk
Marian Balakowiczd62379d2006-09-01 19:49:50 +020010ifneq ($(OBJTREE),$(SRCTREE))
11$(shell mkdir -p $(obj)../common)
12endif
wdenke85390d2002-04-01 14:29:03 +000013
Sebastien Carliera8d426f2010-11-05 15:48:07 +010014LIB = $(obj)lib$(BOARD).o
wdenke85390d2002-04-01 14:29:03 +000015
Marian Balakowiczd62379d2006-09-01 19:49:50 +020016COBJS = $(BOARD).o flash.o cmd_dasa_sim.o eeprom.o ../common/pci.o
17
18SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS))
20SOBJS := $(addprefix $(obj),$(SOBJS))
wdenke85390d2002-04-01 14:29:03 +000021
22$(LIB): $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010023 $(call cmd_link_o_target, $(OBJS))
wdenke85390d2002-04-01 14:29:03 +000024
wdenke85390d2002-04-01 14:29:03 +000025#########################################################################
26
Marian Balakowiczd62379d2006-09-01 19:49:50 +020027# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
wdenke85390d2002-04-01 14:29:03 +000029
Marian Balakowiczd62379d2006-09-01 19:49:50 +020030sinclude $(obj).depend
wdenke85390d2002-04-01 14:29:03 +000031
32#########################################################################