blob: b1c6197e0b75bee50570be3cabe416d18ac00db7 [file] [log] [blame]
Alessandro Rubinid5254f12009-01-24 18:10:37 +01001#
2# (C) Copyright 2000-2004
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# (C) Copyright 2004
6# ARM Ltd.
7# Philippe Robin, <philippe.robin@arm.com>
8#
Wolfgang Denk1a459662013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Alessandro Rubinid5254f12009-01-24 18:10:37 +010010#
11
12include $(TOPDIR)/config.mk
13
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010014LIB = $(obj)lib$(BOARD).o
Alessandro Rubinid5254f12009-01-24 18:10:37 +010015
Alessandro Rubiniee1363f2009-06-22 09:18:37 +020016COBJS := nhk8815.o
Alessandro Rubinicb8948e2011-04-16 07:49:40 +000017SOBJS :=
Alessandro Rubinid5254f12009-01-24 18:10:37 +010018
19SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
20OBJS := $(addprefix $(obj),$(COBJS))
21SOBJS := $(addprefix $(obj),$(SOBJS))
22
23$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carlier6d8962e2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Alessandro Rubinid5254f12009-01-24 18:10:37 +010025
Alessandro Rubinid5254f12009-01-24 18:10:37 +010026#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################