mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 10:18:38 +00:00
290f1f999a
The latest Xilinx tools generate ps7_init files that are explicitly available under GPL. Change the makefile to allow drop in of those files for building the SPL. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> Reviewed-and-tested-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
17 lines
542 B
Makefile
17 lines
542 B
Makefile
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
obj-y := board.o
|
|
|
|
# Please copy ps7_init_gpl.c/h from hw project to this directory
|
|
obj-$(CONFIG_SPL_BUILD) += \
|
|
$(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o, \
|
|
$(if $(wildcard $(srctree)/$(src)/ps7_init.c), ps7_init.o legacy.o))
|
|
|
|
# Suppress "warning: function declaration isn't a prototype"
|
|
CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
|
|
CFLAGS_REMOVE_ps7_init.o := -Wstrict-prototypes
|