blob: 054c3d821d9b39a291ff6273269b2d6169c952d5 [file] [log] [blame]
Michal Simekf22651c2012-09-28 09:56:37 +00001#
2# (C) Copyright 2000-2006
3# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Michal Simekf22651c2012-09-28 09:56:37 +00006#
7
Masahiro Yamadaa79854a2013-10-21 11:53:37 +09008obj-y := board.o
Masahiro Yamada66e67152014-05-12 12:18:30 +09009
Soren Brinkmann290f1f92014-10-30 10:52:43 -070010# Please copy ps7_init_gpl.c/h from hw project to this directory
Masahiro Yamada66e67152014-05-12 12:18:30 +090011obj-$(CONFIG_SPL_BUILD) += \
Masahiro Yamadae7fa7d52015-04-14 16:50:50 +090012 $(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o)
Masahiro Yamada32747492014-05-29 14:46:13 +090013
14# Suppress "warning: function declaration isn't a prototype"
Soren Brinkmann290f1f92014-10-30 10:52:43 -070015CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes