blob: 7d4e984e3afcd5383508381da4309f29302085b3 [file] [log] [blame]
Minkyu Kang8bc4ee92009-10-01 17:20:40 +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 Kang8bc4ee92009-10-01 17:20:40 +09009#
10
11include $(TOPDIR)/config.mk
12
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010013LIB = $(obj)lib$(BOARD).o
Minkyu Kang8bc4ee92009-10-01 17:20:40 +090014
15COBJS-y := smdkc100.o
16COBJS-$(CONFIG_SAMSUNG_ONENAND) += onenand.o
17SOBJS := lowlevel_init.o
18
19SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS-y))
21SOBJS := $(addprefix $(obj),$(SOBJS))
22
23$(LIB): $(obj).depend $(SOBJS) $(OBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $(SOBJS) $(OBJS))
Minkyu Kang8bc4ee92009-10-01 17:20:40 +090025
Minkyu Kang8bc4ee92009-10-01 17:20:40 +090026#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################