blob: cd91d660766bc5c5374b7442694e840936e3180a [file] [log] [blame]
Minkyu Kangc474a8e2010-05-31 22:02:42 +09001#
2# (C) Copyright 2000, 2001, 2002
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
6# Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
7#
Wolfgang Denk1a459662013-07-08 09:37:19 +02008# SPDX-License-Identifier: GPL-2.0+
Minkyu Kangc474a8e2010-05-31 22:02:42 +09009#
10
11include $(TOPDIR)/config.mk
12
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010013LIB = $(obj)lib$(BOARD).o
Minkyu Kangc474a8e2010-05-31 22:02:42 +090014
15COBJS-y := goni.o onenand.o
16SOBJS := lowlevel_init.o
17
18SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS-y))
20SOBJS := $(addprefix $(obj),$(SOBJS))
21
22$(LIB): $(obj).depend $(SOBJS) $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010023 $(call cmd_link_o_target, $(SOBJS) $(OBJS))
Minkyu Kangc474a8e2010-05-31 22:02:42 +090024
Minkyu Kangc474a8e2010-05-31 22:02:42 +090025#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################