blob: 5de2d289dfc118f034301e358164fe6818f2c75c [file] [log] [blame]
Macpaul Lin463d47f2011-10-11 22:33:19 +00001#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
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>
8#
Wolfgang Denk1a459662013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Macpaul Lin463d47f2011-10-11 22:33:19 +000010#
11
12include $(TOPDIR)/config.mk
13
14LIB = $(obj)lib$(ARCH).o
15
Dirk Eibachb8eee432013-06-26 15:55:16 +020016OBJS := board.o cache.o interrupts.o
17COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
Macpaul Lin463d47f2011-10-11 22:33:19 +000018
19all: $(LIB)
20
21$(LIB): $(OBJS) $(SOBJS)
22 $(call cmd_link_o_target, $(OBJS))
23
24#########################################################################
25
26# defines $(obj).depend target
27include $(SRCTREE)/rules.mk
28
29sinclude $(obj).depend
30
31#########################################################################