2 # Copyright (C) 2011 Andes Technology Corporation
3 # Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
5 # SPDX-License-Identifier: GPL-2.0+
8 include $(TOPDIR)/config.mk
10 LIB = $(obj)lib$(BOARD).o
14 SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
15 OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y))
18 $(call cmd_link_o_target, $(OBJS))
20 #########################################################################
22 # defines $(obj).depend target
23 include $(SRCTREE)/rules.mk
25 sinclude $(obj).depend
27 #########################################################################