]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/armadeus/apf27/Makefile
Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master'
[karo-tx-uboot.git] / board / armadeus / apf27 / Makefile
1 #
2 # (C) Copyright 2000-2004
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 # (C) Copyright 2012-2013
5 # Eric Jarrige <eric.jarrige@armadeus.org>
6 #
7 # SPDX-License-Identifier:    GPL-2.0+
8 #
9
10 include $(TOPDIR)/config.mk
11
12 LIB     = $(obj)lib$(BOARD).o
13
14 COBJS   := apf27.o
15 SOBJS   := lowlevel_init.o
16 ifdef CONFIG_FPGA
17 COBJS   += fpga.o
18 endif
19
20 SRCS    := $(COBJS:.o=.c) $(SOBJS:.o=.S)
21 OBJS    := $(addprefix $(obj),$(COBJS))
22 SOBJS   := $(addprefix $(obj),$(SOBJS))
23
24 $(LIB): $(obj).depend $(OBJS) $(SOBJS)
25         $(call cmd_link_o_target, $(OBJS) $(SOBJS))
26
27 #########################################################################
28
29 include $(SRCTREE)/rules.mk
30
31 sinclude $(obj).depend
32
33 #########################################################################