xref: /openbmc/u-boot/board/mpc8308_p1m/Makefile (revision 3765b3e7)
1#
2# (C) Copyright 2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4# (C) Copyright 2010
5# Ilya Yanok, Emcraft Systems, yanok@emcraft.com
6#
7# SPDX-License-Identifier:	GPL-2.0+
8#
9
10include $(TOPDIR)/config.mk
11
12LIB	= $(obj)lib$(BOARD).o
13
14COBJS	:= $(BOARD).o sdram.o
15
16SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
17OBJS	:= $(addprefix $(obj),$(COBJS))
18SOBJS	:= $(addprefix $(obj),$(SOBJS))
19
20$(LIB):	$(obj).depend $(OBJS)
21	$(call cmd_link_o_target, $(OBJS))
22
23#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################
31