2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # Copyright (C) 2011 Andes Technology Corporation
6 # Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
7 # Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
9 # SPDX-License-Identifier: GPL-2.0+
12 include $(TOPDIR)/config.mk
14 LIB = $(obj)lib$(ARCH).o
18 COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
19 COBJS-y += interrupts.o
21 SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
22 OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
24 $(LIB): $(obj).depend $(OBJS)
25 $(call cmd_link_o_target, $(OBJS))
27 #########################################################################
29 # defines $(obj).depend target
30 include $(SRCTREE)/rules.mk
32 sinclude $(obj).depend
34 #########################################################################