2 # Copyright (C) 2011 Andes Technology Corporation
3 # Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
4 # Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
6 # SPDX-License-Identifier: GPL-2.0+
9 include $(TOPDIR)/config.mk
11 LIB = $(obj)lib$(BOARD).o
15 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
16 OBJS := $(addprefix $(obj),$(COBJS) $(SOBJS))
19 $(call cmd_link_o_target, $(OBJS))
21 #########################################################################
23 # defines $(obj).depend target
24 include $(SRCTREE)/rules.mk
26 sinclude $(obj).depend
28 #########################################################################