2 # (C) Copyright 2000-2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
10 # Please copy ps7_init_gpl.c/h from hw project to this directory
11 obj-$(CONFIG_SPL_BUILD) += \
12 $(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o)
14 # Suppress "warning: function declaration isn't a prototype"
15 CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
17 # Warn if CONFIG_TARGET_ZYNQ_ZC70X is enabled
18 ifeq ($(CONFIG_TARGET_ZYNQ_ZC70X),y)
19 ifeq ($(CONFIG_SPL_BUILD),y)
20 $(warning CONFIG_TARGET_ZYNQ_ZC70X is deprecated.)
21 $(warning Enable CONFIG_TARGET_ZYNQ_ZC702 or CONFIG_TARGET_ZYNQ_706 instead.)
22 $(warning "make zynq_zc70x_defconfig" is also deprecated.)
23 $(warning Use "make zynq_zc702_defconfig" or "make zynq_zc706_defconfig".)