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