blob: 512f6d714b684bb3707a3038675dac02bec29a45 [file] [log] [blame]
wdenke85390d2002-04-01 14:29:03 +00001#
Marian Balakowiczd62379d2006-09-01 19:49:50 +02002# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
Wolfgang Denk4df0da52006-10-09 00:42:01 +02004#
wdenke85390d2002-04-01 14:29:03 +00005# (C) Copyright 2001
6# Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
7#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
wdenke85390d2002-04-01 14:29:03 +00009#
10
11include $(TOPDIR)/config.mk
12
Sebastien Carliera8d426f2010-11-05 15:48:07 +010013LIB = $(obj)lib$(BOARD).o
wdenke85390d2002-04-01 14:29:03 +000014
15SOBJS = misc.o
Marian Balakowiczd62379d2006-09-01 19:49:50 +020016COBJS = $(BOARD).o flash.o serial.o memory.o pci.o \
wdenke85390d2002-04-01 14:29:03 +000017 eth.o eth_addrtbl.o mpsc.o i2c.o \
18 sdram_init.o zuma_pbb.o intel_flash.o zuma_pbb_mbox.o
19
Marian Balakowiczd62379d2006-09-01 19:49:50 +020020SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
21OBJS := $(addprefix $(obj),$(COBJS))
22SOBJS := $(addprefix $(obj),$(SOBJS))
wdenke85390d2002-04-01 14:29:03 +000023
Marian Balakowiczd62379d2006-09-01 19:49:50 +020024$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010025 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
wdenke85390d2002-04-01 14:29:03 +000026
27#########################################################################
28
Marian Balakowiczd62379d2006-09-01 19:49:50 +020029# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
wdenke85390d2002-04-01 14:29:03 +000031
Marian Balakowiczd62379d2006-09-01 19:49:50 +020032sinclude $(obj).depend
wdenke85390d2002-04-01 14:29:03 +000033
34#########################################################################