xref: /openbmc/u-boot/board/sbc8548/Makefile (revision 3765b3e7)
1#
2# (C) Copyright 2004-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2007 Wind River Systems Inc <www.windriver.com>.
6# Added support for Wind River SBC8548 board
7#
8# SPDX-License-Identifier:	GPL-2.0+
9#
10
11include $(TOPDIR)/config.mk
12
13LIB	= $(obj)lib$(BOARD).o
14
15COBJS-y	+= $(BOARD).o
16COBJS-y	+= law.o
17COBJS-y	+= tlb.o
18COBJS-$(CONFIG_FSL_DDR2) += ddr.o
19
20SRCS	:= $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
21OBJS	:= $(addprefix $(obj),$(COBJS-y))
22SOBJS	:= $(addprefix $(obj),$(SOBJS))
23
24$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
25	$(call cmd_link_o_target, $(OBJS))
26
27#########################################################################
28
29# defines $(obj).depend target
30include $(SRCTREE)/rules.mk
31
32sinclude $(obj).depend
33
34#########################################################################
35