blob: 89e1f2499cb65834ee54ff2fe06fe35ee7428ff7 [file] [log] [blame]
Stefano Babicd81b27a2012-10-10 21:11:46 +00001#
2# Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
3#
4# (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Stefano Babicd81b27a2012-10-10 21:11:46 +00007#
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#########################################################################