2002-11-02 17:24:07 -07:00
|
|
|
#
|
2006-09-01 11:49:50 -06:00
|
|
|
# (C) Copyright 2000-2006
|
2002-11-02 17:24:07 -07:00
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 01:37:19 -06:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2002-11-02 17:24:07 -07:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 08:48:07 -06:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2002-11-02 17:24:07 -07:00
|
|
|
|
2006-09-01 11:49:50 -06:00
|
|
|
COBJS = $(BOARD).o flash.o
|
2002-11-02 17:24:07 -07:00
|
|
|
|
2006-09-01 11:49:50 -06:00
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 08:48:07 -06:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2002-11-02 17:24:07 -07:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
2006-09-01 11:49:50 -06:00
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
2002-11-02 17:24:07 -07:00
|
|
|
|
2006-09-01 11:49:50 -06:00
|
|
|
sinclude $(obj).depend
|
2002-11-02 17:24:07 -07:00
|
|
|
|
|
|
|
#########################################################################
|