]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/sbc8548/Makefile
Merge branch 'u-boot-atmel/master' into 'u-boot-arm/master'
[people/ms/u-boot.git] / board / sbc8548 / Makefile
CommitLineData
11c45ebd
JH
1#
2# (C) Copyright 2004-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
bd42bbb8
PG
5# (C) Copyright 2007 Wind River Systems Inc <www.windriver.com>.
6# Added support for Wind River SBC8548 board
11c45ebd 7#
1a459660 8# SPDX-License-Identifier: GPL-2.0+
11c45ebd
JH
9#
10
11include $(TOPDIR)/config.mk
12
6d8962e8 13LIB = $(obj)lib$(BOARD).o
11c45ebd 14
33b9079b
KG
15COBJS-y += $(BOARD).o
16COBJS-y += law.o
17COBJS-y += tlb.o
18COBJS-$(CONFIG_FSL_DDR2) += ddr.o
11c45ebd 19
33b9079b
KG
20SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
21OBJS := $(addprefix $(obj),$(COBJS-y))
11c45ebd
JH
22SOBJS := $(addprefix $(obj),$(SOBJS))
23
24$(LIB): $(obj).depend $(OBJS) $(SOBJS)
6d8962e8 25 $(call cmd_link_o_target, $(OBJS))
11c45ebd 26
11c45ebd
JH
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################