blob: 7cb6f0fba5aa9263c346138a4608236ffb00271a [file] [log] [blame]
Ilko Ilievf0a2c7b2009-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 Popc9e798d2011-11-01 00:00:39 +01006# Stelian Pop <stelian@popies.net>
Ilko Ilievf0a2c7b2009-04-16 21:30:48 +02007# Lead Tech Design <www.leadtechdesign.com>
8# Ilko Iliev <www.ronetix.at>
9#
Wolfgang Denk1a459662013-07-08 09:37:19 +020010# SPDX-License-Identifier: GPL-2.0+
Ilko Ilievf0a2c7b2009-04-16 21:30:48 +020011#
12
13include $(TOPDIR)/config.mk
14
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010015LIB = $(obj)lib$(BOARD).o
Ilko Ilievf0a2c7b2009-04-16 21:30:48 +020016
17COBJS-y += pm9263.o
18COBJS-y += led.o
19COBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
20
Ilko Ilievf0a2c7b2009-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 Carlier6d8962e2010-11-05 15:48:07 +010026 $(call cmd_link_o_target, $(OBJS))
Ilko Ilievf0a2c7b2009-04-16 21:30:48 +020027
Ilko Ilievf0a2c7b2009-04-16 21:30:48 +020028#########################################################################
29
30# defines $(obj).depend target
31include $(SRCTREE)/rules.mk
32
33sinclude $(obj).depend
34
35#########################################################################