blob: 7b7f51a7bbcb928a28659c56b37e6999e18dc2cf [file] [log] [blame]
wdenk57b2d802003-06-27 21:31:46 +00001
wdenkda27dcf2002-09-10 19:19:06 +00002#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02003# (C) Copyright 2000-2006
wdenkda27dcf2002-09-10 19:19:06 +00004# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
wdenkda27dcf2002-09-10 19:19:06 +00007#
8
9include $(TOPDIR)/config.mk
10
Sebastien Carliera8d426f2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
wdenkda27dcf2002-09-10 19:19:06 +000012
Marian Balakowiczd62379d2006-09-01 19:49:50 +020013COBJS := lubbock.o flash.o
wdenkda27dcf2002-09-10 19:19:06 +000014
Marek Vasutc5513e72010-10-20 20:55:44 +020015SRCS := $(COBJS:.o=.c)
Marian Balakowiczd62379d2006-09-01 19:49:50 +020016OBJS := $(addprefix $(obj),$(COBJS))
Marian Balakowiczd62379d2006-09-01 19:49:50 +020017
Marek Vasutc5513e72010-10-20 20:55:44 +020018$(LIB): $(obj).depend $(OBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010019 $(call cmd_link_o_target, $(OBJS))
wdenkda27dcf2002-09-10 19:19:06 +000020
wdenkda27dcf2002-09-10 19:19:06 +000021#########################################################################
22
Marian Balakowiczd62379d2006-09-01 19:49:50 +020023# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
wdenkda27dcf2002-09-10 19:19:06 +000025
Marian Balakowiczd62379d2006-09-01 19:49:50 +020026sinclude $(obj).depend
wdenkda27dcf2002-09-10 19:19:06 +000027
28#########################################################################