2008-10-22 01:29:46 +09: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 16:37:19 +09:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-10-22 01:29:46 +09:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
ifneq ($(OBJTREE),$(SRCTREE))
|
2010-12-24 09:38:10 +09:00
|
|
|
$(shell mkdir -p $(obj)../../xilinx/ppc405-generic)
|
2008-10-22 01:29:46 +09:00
|
|
|
endif
|
|
|
|
|
2010-11-05 23:48:07 +09:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2008-10-22 01:29:46 +09: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 09:38:10 +09:00
|
|
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2008-10-22 01:29:46 +09:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|