]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/xilinx/ppc405-generic/Makefile
Merge git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / xilinx / ppc405-generic / Makefile
1 #
2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # (C) Copyright 2008
6 # Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es
7 # Work supported by Qtechnology http://www.qtec.com
8 #
9 # SPDX-License-Identifier:      GPL-2.0+
10 #
11
12 include $(TOPDIR)/config.mk
13 ifneq ($(OBJTREE),$(SRCTREE))
14 $(shell mkdir -p $(obj)../../xilinx/ppc405-generic)
15 endif
16
17 LIB     = $(obj)lib$(BOARD).o
18
19 COBJS   += ../../xilinx/ppc405-generic/xilinx_ppc405_generic.o
20
21 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
22 OBJS    := $(addprefix $(obj),$(COBJS))
23 SOBJS   := $(addprefix $(obj),$(SOBJS))
24
25 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
26         $(call cmd_link_o_target, $(OBJS))
27
28 #########################################################################
29
30 # defines $(obj).depend target
31 include $(SRCTREE)/rules.mk
32
33 sinclude $(obj).depend
34
35 #########################################################################