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, \
13 $(if $(wildcard $(srctree)/$(src)/ps7_init.c), ps7_init.o legacy.o))
15 # Suppress "warning: function declaration isn't a prototype"
16 CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
17 CFLAGS_REMOVE_ps7_init.o := -Wstrict-prototypes