2012-10-29 07:54:01 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000, 2001, 2002
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2012-10-29 07:54:01 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
|
|
|
|
COBJS-y := $(BOARD).o
|
|
|
|
SOBJS-y := lowlevel_init.o
|
|
|
|
|
|
|
|
COBJS := $(sort $(COBJS-y))
|
|
|
|
SOBJS := $(sort $(SOBJS-y))
|
|
|
|
SRCS := $(COBJS:.o=.c) $(SOBJS:.o=.S)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS)) $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|