mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +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>
17 lines
552 B
Makefile
17 lines
552 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2010,2011 Nvidia Corporation.
|
|
|
|
obj-$(CONFIG_XPL_BUILD) += cpu.o
|
|
obj-$(CONFIG_$(PHASE_)CMD_EBTUPDATE) += bct.o
|
|
|
|
# The AVP is ARMv4T architecture so we must use special compiler
|
|
# flags for any startup files it might use.
|
|
CFLAGS_warmboot_avp.o = -march=armv4t -U__LINUX_ARM_ARCH__ \
|
|
-D__LINUX_ARM_ARCH__=4
|
|
CFLAGS_REMOVE_warmboot_avp.o := $(LTO_CFLAGS)
|
|
|
|
obj-y += clock.o
|
|
obj-$(CONFIG_TEGRA_LP0) += warmboot.o warmboot_avp.o
|
|
obj-$(CONFIG_TEGRA_CLOCK_SCALING) += emc.o
|
|
obj-$(CONFIG_TEGRA_PMU) += pmu.o
|