xref: /openbmc/u-boot/board/xilinx/zynq/Makefile (revision 9bd53b62)
1f22651cfSMichal Simek#
2f22651cfSMichal Simek# (C) Copyright 2000-2006
3f22651cfSMichal Simek# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4f22651cfSMichal Simek#
51a459660SWolfgang Denk# SPDX-License-Identifier:	GPL-2.0+
6f22651cfSMichal Simek#
7f22651cfSMichal Simek
8a79854a9SMasahiro Yamadaobj-y	:= board.o
966e6715cSMasahiro Yamada
10290f1f99SSoren Brinkmann# Please copy ps7_init_gpl.c/h from hw project to this directory
1166e6715cSMasahiro Yamadaobj-$(CONFIG_SPL_BUILD) += \
12e7fa7d5cSMasahiro Yamada	$(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o)
1332747491SMasahiro Yamada
1432747491SMasahiro Yamada# Suppress "warning: function declaration isn't a prototype"
15290f1f99SSoren BrinkmannCFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
16*9bd53b62SMasahiro Yamada
17*9bd53b62SMasahiro Yamada# Warn if CONFIG_TARGET_ZYNQ_ZC70X is enabled
18*9bd53b62SMasahiro Yamadaifeq ($(CONFIG_TARGET_ZYNQ_ZC70X),y)
19*9bd53b62SMasahiro Yamadaifeq ($(CONFIG_SPL_BUILD),y)
20*9bd53b62SMasahiro Yamada$(warning CONFIG_TARGET_ZYNQ_ZC70X is deprecated.)
21*9bd53b62SMasahiro Yamada$(warning Enable CONFIG_TARGET_ZYNQ_ZC702 or CONFIG_TARGET_ZYNQ_706 instead.)
22*9bd53b62SMasahiro Yamada$(warning "make zynq_zc70x_defconfig" is also deprecated.)
23*9bd53b62SMasahiro Yamada$(warning Use "make zynq_zc702_defconfig" or "make zynq_zc706_defconfig".)
24*9bd53b62SMasahiro Yamadaendif
25*9bd53b62SMasahiro Yamadaendif
26