blob: 61474aaf8b5afcbff36e890e0b1d16607814f2a7 [file] [log] [blame]
Andre Schwarz2a293292008-07-09 18:30:44 +02001#
2# (C) Copyright 2003
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2004-2008
6# Matrix-Vision GmbH, info@matrix-vision.de
7#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
Andre Schwarz2a293292008-07-09 18:30:44 +02009#
10
11include $(TOPDIR)/config.mk
12
Sebastien Carliera8d426f2010-11-05 15:48:07 +010013LIB = $(obj)lib$(BOARD).o
Andre Schwarz2a293292008-07-09 18:30:44 +020014
15COBJS := $(BOARD).o fpga.o
16
17SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
18OBJS := $(addprefix $(obj),$(COBJS))
19SOBJS := $(addprefix $(obj),$(SOBJS))
20
21$(LIB): $(obj).depend $(OBJS)
Wolfgang Denkec7fbf52013-10-04 17:43:24 +020022 $(call cmd_link_o_target, $(OBJS))
Andre Schwarz2a293292008-07-09 18:30:44 +020023
Andre Schwarz2a293292008-07-09 18:30:44 +020024#########################################################################
25
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend