blob: 0e53e8df210311d33d08af623d797f70d71140e8 [file] [log] [blame]
Andre Schwarz3f4bd652010-04-01 21:26:55 +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 Schwarz3f4bd652010-04-01 21:26:55 +02009#
10
11include $(TOPDIR)/config.mk
12
Sebastien Carliera8d426f2010-11-05 15:48:07 +010013LIB = $(obj)lib$(BOARD).o
Andre Schwarz3f4bd652010-04-01 21:26:55 +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)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010022 $(call cmd_link_o_target, $(OBJS))
Wolfgang Denkd5735f22010-05-15 20:22:21 +020023 @mkimage -T script -C none -n mvSMR_Script -d bootscript $(obj)bootscript.img
Andre Schwarz3f4bd652010-04-01 21:26:55 +020024
Andre Schwarz3f4bd652010-04-01 21:26:55 +020025#########################################################################
26
27include $(SRCTREE)/rules.mk
28
29sinclude $(obj).depend