blob: 85bebaccca18582ebbc8603f04fe274195158fbe [file] [log] [blame]
wdenkc6f35e62002-03-10 16:48:43 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
wdenkc6f35e62002-03-10 16:48:43 +00005# (C) Copyright 2001
6# Erik Theisen, Wave 7 Optics, etheisen@mindspring.com.
7#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
wdenkc6f35e62002-03-10 16:48:43 +00009#
10
11include $(TOPDIR)/config.mk
12
Sebastien Carliera8d426f2010-11-05 15:48:07 +010013LIB = $(obj)lib$(BOARD).o
wdenkc6f35e62002-03-10 16:48:43 +000014
Marian Balakowiczd62379d2006-09-01 19:49:50 +020015COBJS = $(BOARD).o flash.o fpga.o fsboot.o post2.o vpd.o cmd_vpd.o \
wdenkc6f35e62002-03-10 16:48:43 +000016 watchdog.o
17SOBJS = init.o post1.o
18
Marian Balakowiczd62379d2006-09-01 19:49:50 +020019SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS))
21SOBJS := $(addprefix $(obj),$(SOBJS))
22
wdenkc6f35e62002-03-10 16:48:43 +000023$(LIB): $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $^)
wdenkc6f35e62002-03-10 16:48:43 +000025
wdenkc6f35e62002-03-10 16:48:43 +000026#########################################################################
27
Marian Balakowiczd62379d2006-09-01 19:49:50 +020028# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
wdenkc6f35e62002-03-10 16:48:43 +000030
Marian Balakowiczd62379d2006-09-01 19:49:50 +020031sinclude $(obj).depend
wdenkc6f35e62002-03-10 16:48:43 +000032
33#########################################################################