xref: /openbmc/u-boot/board/xilinx/zynq/Makefile (revision 06fd66a4)
1#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8obj-y	:= board.o
9
10# Please copy ps7_init_gpl.c/h from hw project to this directory
11obj-$(CONFIG_SPL_BUILD) += \
12		$(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o, \
13			$(if $(wildcard $(srctree)/$(src)/ps7_init.c), ps7_init.o legacy.o))
14
15# Suppress "warning: function declaration isn't a prototype"
16CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
17CFLAGS_REMOVE_ps7_init.o := -Wstrict-prototypes
18