blob: 42bde8127829f60ba2b9f6ff3ae837e6a5fcb8a9 [file] [log] [blame]
Minkyu Kang0aa1a6b2011-01-24 15:33:50 +09001#
2# Copyright (C) 2010 Samsung Electronics
3# Minkyu Kang <mk7.kang@samsung.com>
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Minkyu Kang0aa1a6b2011-01-24 15:33:50 +09006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
12COBJS-y := universal.o onenand.o
Minkyu Kang0aa1a6b2011-01-24 15:33:50 +090013
14SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
15OBJS := $(addprefix $(obj),$(COBJS-y))
16SOBJS := $(addprefix $(obj),$(SOBJS))
17
18$(LIB): $(obj).depend $(SOBJS) $(OBJS)
19 $(call cmd_link_o_target, $(SOBJS) $(OBJS))
20
Minkyu Kang0aa1a6b2011-01-24 15:33:50 +090021#########################################################################
22
23# defines $(obj).depend target
24include $(SRCTREE)/rules.mk
25
26sinclude $(obj).depend
27
28#########################################################################