xref: /openbmc/u-boot/board/samsung/smdkc100/Makefile (revision 1a459660)
18bc4ee9eSMinkyu Kang#
28bc4ee9eSMinkyu Kang# (C) Copyright 2000, 2001, 2002
38bc4ee9eSMinkyu Kang# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
48bc4ee9eSMinkyu Kang#
58bc4ee9eSMinkyu Kang# (C) Copyright 2008
68bc4ee9eSMinkyu Kang# Guennadi Liakhovetki, DENX Software Engineering, <lg@denx.de>
78bc4ee9eSMinkyu Kang#
8*1a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
98bc4ee9eSMinkyu Kang#
108bc4ee9eSMinkyu Kang
118bc4ee9eSMinkyu Kanginclude $(TOPDIR)/config.mk
128bc4ee9eSMinkyu Kang
136d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
148bc4ee9eSMinkyu Kang
158bc4ee9eSMinkyu KangCOBJS-y	:= smdkc100.o
168bc4ee9eSMinkyu KangCOBJS-$(CONFIG_SAMSUNG_ONENAND)	+= onenand.o
178bc4ee9eSMinkyu KangSOBJS	:= lowlevel_init.o
188bc4ee9eSMinkyu Kang
198bc4ee9eSMinkyu KangSRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
208bc4ee9eSMinkyu KangOBJS	:= $(addprefix $(obj),$(COBJS-y))
218bc4ee9eSMinkyu KangSOBJS	:= $(addprefix $(obj),$(SOBJS))
228bc4ee9eSMinkyu Kang
238bc4ee9eSMinkyu Kang$(LIB):	$(obj).depend $(SOBJS) $(OBJS)
246d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(SOBJS) $(OBJS))
258bc4ee9eSMinkyu Kang
268bc4ee9eSMinkyu Kang#########################################################################
278bc4ee9eSMinkyu Kang
288bc4ee9eSMinkyu Kang# defines $(obj).depend target
298bc4ee9eSMinkyu Kanginclude $(SRCTREE)/rules.mk
308bc4ee9eSMinkyu Kang
318bc4ee9eSMinkyu Kangsinclude $(obj).depend
328bc4ee9eSMinkyu Kang
338bc4ee9eSMinkyu Kang#########################################################################
34