2013-09-10 20:08:39 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2004
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
# (C) Copyright 2012-2013
|
|
|
|
# Eric Jarrige <eric.jarrige@armadeus.org>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
|
|
|
|
COBJS := apf27.o
|
|
|
|
SOBJS := lowlevel_init.o
|
2013-09-10 20:08:40 +00:00
|
|
|
ifdef CONFIG_FPGA
|
|
|
|
COBJS += fpga.o
|
|
|
|
endif
|
2013-09-10 20:08:39 +00:00
|
|
|
|
|
|
|
SRCS := $(COBJS:.o=.c) $(SOBJS:.o=.S)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS) $(SOBJS))
|
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|