mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 01:44:34 +00:00

It is confusing to have both "$(PHASE_)" and "$(XPL_)" be used in our Makefiles as part of the macros to determine when to do something in our Makefiles based on what phase of the build we are in. For consistency, bring this down to a single macro and use "$(PHASE_)" only. Signed-off-by: Tom Rini <trini@konsulko.com>
14 lines
438 B
Makefile
14 lines
438 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2014 - 2015 Xilinx, Inc.
|
|
# Michal Simek <michal.simek@amd.com>
|
|
|
|
obj-y += aes.o clk.o cpu.o
|
|
obj-$(CONFIG_MP) += mp.o
|
|
obj-$(CONFIG_XPL_BUILD) += spl.o handoff.o psu_spl_init.o
|
|
obj-$(CONFIG_SPL_ZYNQMP_DRAM_ECC_INIT) += ecc_spl_init.o
|
|
obj-$(CONFIG_$(PHASE_)ZYNQMP_PSU_INIT_ENABLED) += psu_spl_init.o
|
|
|
|
ifndef CONFIG_XPL_BUILD
|
|
obj-$(CONFIG_CMD_ZYNQMP) += zynqmp.o
|
|
endif # !CONFIG_XPL_BUILD
|