]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/xilinx/ppc440-generic/Makefile
Merge git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / xilinx / ppc440-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/ppc440-generic)
15 endif
16
17 LIB     = $(obj)lib$(BOARD).o
18
19 COBJS   += ../../xilinx/ppc440-generic/xilinx_ppc440_generic.o
20 SOBJS   += ../../xilinx/ppc440-generic/init.o
21
22 SRCS    := $(SOBJS:.o=.S) $(COBJS:.o=.c)
23 OBJS    := $(addprefix $(obj),$(COBJS))
24 SOBJS   := $(addprefix $(obj),$(SOBJS))
25
26 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
27         $(call cmd_link_o_target, $(OBJS))
28
29 #########################################################################
30
31 # defines $(obj).depend target
32 include $(SRCTREE)/rules.mk
33
34 sinclude $(obj).depend
35
36 #########################################################################