blob: 2ab3b20460b6e534690f5d6dbfb507ee499693d3 [file] [log] [blame]
Feng Kanbc429712008-07-08 22:48:42 -07001#
2# (C) Copyright 2008
3# Feng Kan, Applied Micro Circuits Corp., fkan@amcc.com.
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Feng Kanbc429712008-07-08 22:48:42 -07006#
7
8include $(TOPDIR)/config.mk
9
Sebastien Carliera8d426f2010-11-05 15:48:07 +010010LIB = $(obj)lib$(BOARD).o
Feng Kanbc429712008-07-08 22:48:42 -070011
12COBJS = $(BOARD).o
13SOBJS = init.o
14
15SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16OBJS := $(addprefix $(obj),$(COBJS))
17SOBJS := $(addprefix $(obj),$(SOBJS))
18
19$(LIB): $(obj).depend $(OBJS) $(SOBJS)
Sebastien Carliera8d426f2010-11-05 15:48:07 +010020 $(call cmd_link_o_target, $(OBJS))
Feng Kanbc429712008-07-08 22:48:42 -070021
Feng Kanbc429712008-07-08 22:48:42 -070022#########################################################################
23
24include $(SRCTREE)/rules.mk
25
26sinclude $(obj).depend
27
28#########################################################################