Makefile 542 B

1234567891011121314151617
  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. obj-y := board.o
  8. # Please copy ps7_init_gpl.c/h from hw project to this directory
  9. obj-$(CONFIG_SPL_BUILD) += \
  10. $(if $(wildcard $(srctree)/$(src)/ps7_init_gpl.c), ps7_init_gpl.o, \
  11. $(if $(wildcard $(srctree)/$(src)/ps7_init.c), ps7_init.o legacy.o))
  12. # Suppress "warning: function declaration isn't a prototype"
  13. CFLAGS_REMOVE_ps7_init_gpl.o := -Wstrict-prototypes
  14. CFLAGS_REMOVE_ps7_init.o := -Wstrict-prototypes