blob: b1c6197e0b75bee50570be3cabe416d18ac00db7 [file] [log] [blame]
Alessandro Rubinibb930d12009-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 Denkd79de1d2013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Alessandro Rubinibb930d12009-01-24 18:10:37 +010010#
11
12include $(TOPDIR)/config.mk
13
Sebastien Carliera8d426f2010-11-05 15:48:07 +010014LIB = $(obj)lib$(BOARD).o
Alessandro Rubinibb930d12009-01-24 18:10:37 +010015
Alessandro Rubini42a98012009-06-22 09:18:37 +020016COBJS := nhk8815.o
Alessandro Rubini348c3c42011-04-16 07:49:40 +000017SOBJS :=
Alessandro Rubinibb930d12009-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 Carliera8d426f2010-11-05 15:48:07 +010024 $(call cmd_link_o_target, $(OBJS) $(SOBJS))
Alessandro Rubinibb930d12009-01-24 18:10:37 +010025
Alessandro Rubinibb930d12009-01-24 18:10:37 +010026#########################################################################
27
28# defines $(obj).depend target
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################