blob: 7cb6f0fba5aa9263c346138a4608236ffb00271a [file] [log] [blame]
Ilko Iliev8b954a92009-04-16 21:30:48 +02001#
2# (C) Copyright 2003-2008
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2008
Stelian Pop5ee0c7f2011-11-01 00:00:39 +01006# Stelian Pop <stelian@popies.net>
Ilko Iliev8b954a92009-04-16 21:30:48 +02007# Lead Tech Design <www.leadtechdesign.com>
8# Ilko Iliev <www.ronetix.at>
9#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020010# SPDX-License-Identifier: GPL-2.0+
Ilko Iliev8b954a92009-04-16 21:30:48 +020011#
12
13include $(TOPDIR)/config.mk
14
Sebastien Carliera8d426f2010-11-05 15:48:07 +010015LIB = $(obj)lib$(BOARD).o
Ilko Iliev8b954a92009-04-16 21:30:48 +020016
17COBJS-y += pm9263.o
18COBJS-y += led.o
19COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
20
Ilko Iliev8b954a92009-04-16 21:30:48 +020021SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
22OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y))
23SOBJS := $(addprefix $(obj),$(SOBJS-y))
24
25$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010026 $(call cmd_link_o_target, $(OBJS))
Ilko Iliev8b954a92009-04-16 21:30:48 +020027
Ilko Iliev8b954a92009-04-16 21:30:48 +020028#########################################################################
29
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
32
33sinclude $(obj).depend
34
35#########################################################################