2011-10-11 22:33:19 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# Copyright (C) 2011 Andes Technology Corporation
|
|
|
|
# Shawn Lin, Andes Technology Corporation <nobuhiro@andestech.com>
|
|
|
|
# Macpaul Lin, Andes Technology Corporation <macpaul@andestech.com>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-10-11 22:33:19 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(ARCH).o
|
|
|
|
|
2013-06-26 13:55:16 +00:00
|
|
|
OBJS := board.o cache.o interrupts.o
|
|
|
|
COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
|
2011-10-11 22:33:19 +00:00
|
|
|
|
|
|
|
all: $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJS) $(SOBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|