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 14# Suppress "warning: function declaration isn't a prototype" 15CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes 16 17# Warn if CONFIG_TARGET_ZYNQ_ZC70X is enabled 18ifeq ($(CONFIG_TARGET_ZYNQ_ZC70X),y) 19ifeq ($(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".) 24endif 25endif 26