2008-10-21 16:29:46 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2006
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
|
|
|
# (C) Copyright 2008
|
|
|
|
# Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es
|
|
|
|
# Work supported by Qtechnology http://www.qtec.com
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-10-21 16:29:46 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
ifneq ($(OBJTREE),$(SRCTREE))
|
2010-12-24 00:38:10 +00:00
|
|
|
$(shell mkdir -p $(obj)../../xilinx/ppc405-generic)
|
2008-10-21 16:29:46 +00:00
|
|
|
endif
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2008-10-21 16:29:46 +00:00
|
|
|
|
|
|
|
COBJS += ../../xilinx/ppc405-generic/xilinx_ppc405_generic.o
|
|
|
|
|
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
2010-12-24 00:38:10 +00:00
|
|
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2008-10-21 16:29:46 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|