xref: /openbmc/u-boot/board/woodburn/Makefile (revision 3765b3e7)
1#
2# Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
3#
4# (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
5#
6# SPDX-License-Identifier:	GPL-2.0+
7#
8
9include $(TOPDIR)/config.mk
10
11LIB	= $(obj)lib$(BOARD).o
12
13COBJS	:= woodburn.o
14SOBJS	:= lowlevel_init.o
15
16SRCS	:= $(SOBJS:.o=.S) $(COBJS:.o=.c)
17OBJS	:= $(addprefix $(obj),$(COBJS))
18SOBJS	:= $(addprefix $(obj),$(SOBJS))
19
20$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
21	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
22
23#########################################################################
24
25# defines $(obj).depend target
26include $(SRCTREE)/rules.mk
27
28sinclude $(obj).depend
29
30#########################################################################
31