blob: 1081eb4ec3ef958b81168222c1f059a0180ba272 [file] [log] [blame]
wdenkfa89d7c2004-09-28 16:44:41 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2000-2006
wdenkfa89d7c2004-09-28 16:44:41 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenkfa89d7c2004-09-28 16:44:41 +00006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
wdenkfa89d7c2004-09-28 16:44:41 +000011
Marian Balakowiczd62379d2006-09-01 19:49:50 +020012COBJS := xaeniax.o flash.o
wdenkfa89d7c2004-09-28 16:44:41 +000013
Marek Vasut7cdb9762010-10-20 21:54:19 +020014SRCS := $(COBJS:.o=.c)
Marian Balakowiczd62379d2006-09-01 19:49:50 +020015OBJS := $(addprefix $(obj),$(COBJS))
Marian Balakowiczd62379d2006-09-01 19:49:50 +020016
Marek Vasut7cdb9762010-10-20 21:54:19 +020017$(LIB): $(obj).depend $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010018 $(call cmd_link_o_target, $(OBJS))
wdenkfa89d7c2004-09-28 16:44:41 +000019
wdenkfa89d7c2004-09-28 16:44:41 +000020#########################################################################
21
Marian Balakowiczd62379d2006-09-01 19:49:50 +020022# defines $(obj).depend target
23include $(SRCTREE)/rules.mk
wdenkfa89d7c2004-09-28 16:44:41 +000024
Marian Balakowiczd62379d2006-09-01 19:49:50 +020025sinclude $(obj).depend
wdenkfa89d7c2004-09-28 16:44:41 +000026
27#########################################################################