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>
23 lines
524 B
Makefile
23 lines
524 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright 2021 Google LLC
|
|
|
|
ifdef CONFIG_UT_BOOTSTD
|
|
obj-$(CONFIG_BOOTSTD) += bootdev.o bootstd_common.o bootflow.o bootmeth.o
|
|
obj-$(CONFIG_FIT) += image.o
|
|
|
|
obj-$(CONFIG_EXPO) += expo.o
|
|
obj-$(CONFIG_CEDIT) += cedit.o
|
|
endif
|
|
|
|
ifdef CONFIG_SANDBOX
|
|
obj-$(CONFIG_$(PHASE_)CMDLINE) += bootm.o
|
|
endif
|
|
obj-$(CONFIG_MEASURED_BOOT) += measurement.o
|
|
|
|
ifdef CONFIG_OF_LIVE
|
|
obj-$(CONFIG_BOOTMETH_VBE_SIMPLE) += vbe_simple.o
|
|
endif
|
|
obj-$(CONFIG_BOOTMETH_VBE) += vbe_fixup.o
|
|
|
|
obj-$(CONFIG_UPL) += upl.o
|