]> git.karo-electronics.de Git - karo-tx-uboot.git/blob - board/xilinx/zynq/Makefile
ARM: zynq: add separate configuration for ZC702 and ZC706
[karo-tx-uboot.git] / board / xilinx / zynq / Makefile
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
8 obj-y   := board.o
9
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)
13
14 # Suppress "warning: function declaration isn't a prototype"
15 CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
16
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".)
24 endif
25 endif