2006-10-24 21:21:16 +09:00
|
|
|
#
|
|
|
|
# (C) Copyright 2002-2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# (C) Copyright 2004-2006 Atmel Corporation
|
|
|
|
#
|
2013-07-08 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2006-10-24 21:21:16 +09:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 23:48:07 +09:00
|
|
|
LIB = $(obj)lib$(ARCH).o
|
2006-10-24 21:21:16 +09:00
|
|
|
|
2008-02-27 19:00:47 +09:00
|
|
|
SOBJS-y += memset.o
|
2006-10-24 21:21:16 +09:00
|
|
|
|
2008-02-27 19:00:47 +09:00
|
|
|
COBJS-y += board.o
|
2013-06-26 22:55:16 +09:00
|
|
|
COBJS-$(CONFIG_CMD_BOOTM) += bootm.o
|
2008-02-27 19:00:47 +09:00
|
|
|
COBJS-y += interrupts.o
|
2006-10-24 21:21:16 +09:00
|
|
|
|
2008-02-27 19:00:47 +09:00
|
|
|
SRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
|
2006-10-24 21:21:16 +09:00
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 23:48:07 +09:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2006-10-24 21:21:16 +09:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|