xref: /openbmc/u-boot/board/armadeus/apf27/Makefile (revision 3765b3e7)
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
10include $(TOPDIR)/config.mk
11
12LIB	= $(obj)lib$(BOARD).o
13
14COBJS	:= apf27.o
15SOBJS	:= lowlevel_init.o
16ifdef CONFIG_FPGA
17COBJS	+= fpga.o
18endif
19
20SRCS	:= $(COBJS:.o=.c) $(SOBJS:.o=.S)
21OBJS	:= $(addprefix $(obj),$(COBJS))
22SOBJS	:= $(addprefix $(obj),$(SOBJS))
23
24$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
25	$(call cmd_link_o_target, $(OBJS) $(SOBJS))
26
27#########################################################################
28
29include $(SRCTREE)/rules.mk
30
31sinclude $(obj).depend
32
33#########################################################################
34