blob: 2810fcf8d72fe88955f0c885250f1dd1ace7b55c [file] [log] [blame]
Asen Dimovb5d289f2010-04-20 22:49:04 +03001#
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>
Asen Dimovb5d289f2010-04-20 22:49:04 +03007# Lead Tech Design <www.leadtechdesign.com>
8#
Wolfgang Denk1a459662013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Asen Dimovb5d289f2010-04-20 22:49:04 +030010#
11
12include $(TOPDIR)/config.mk
13
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010014LIB = $(obj)lib$(BOARD).o
Asen Dimovb5d289f2010-04-20 22:49:04 +030015
16COBJS-y += pm9g45.o
17
18SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
19OBJS := $(addprefix $(obj),$(COBJS-y))
20SOBJS := $(addprefix $(obj),$(SOBJS))
21
22$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010023 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Asen Dimovb5d289f2010-04-20 22:49:04 +030024
Asen Dimovb5d289f2010-04-20 22:49:04 +030025#########################################################################
26
27# defines $(obj).depend target
28include $(SRCTREE)/rules.mk
29
30sinclude $(obj).depend
31
32#########################################################################