blob: 7b7f51a7bbcb928a28659c56b37e6999e18dc2cf [file] [log] [blame]
wdenk8bde7f72003-06-27 21:31:46 +00001
wdenkda27dcf2002-09-10 19:19:06 +00002#
Marian Balakowiczf9328632006-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 Denk1a459662013-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 Carlier6d8962e2010-11-05 15:48:07 +010011LIB = $(obj)lib$(BOARD).o
wdenkda27dcf2002-09-10 19:19:06 +000012
Marian Balakowiczf9328632006-09-01 19:49:50 +020013COBJS := lubbock.o flash.o
wdenkda27dcf2002-09-10 19:19:06 +000014
Marek Vasut3c43ca22010-10-20 20:55:44 +020015SRCS := $(COBJS:.o=.c)
Marian Balakowiczf9328632006-09-01 19:49:50 +020016OBJS := $(addprefix $(obj),$(COBJS))
Marian Balakowiczf9328632006-09-01 19:49:50 +020017
Marek Vasut3c43ca22010-10-20 20:55:44 +020018$(LIB): $(obj).depend $(OBJS)
Sebastien Carlier6d8962e2010-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 Balakowiczf9328632006-09-01 19:49:50 +020023# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
wdenkda27dcf2002-09-10 19:19:06 +000025
Marian Balakowiczf9328632006-09-01 19:49:50 +020026sinclude $(obj).depend
wdenkda27dcf2002-09-10 19:19:06 +000027
28#########################################################################