summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-04-11 12:16:49 -0600
committerTom Rini <[email protected]>2025-04-11 12:16:49 -0600
commit407d68638fe32418d61681407effba2a303bb9ee (patch)
treef15f84f2d50af10f621e804d99557b601050c58f /Makefile
parentc4b273e441327f74449b3035d61ea92a077c1baa (diff)
parentfa72470a4ec5522fe92986bb53b22167d35d0913 (diff)
Merge patch series "Switch to using $(PHASE_) in Makefiles"
Tom Rini <[email protected]> says: This series switches to always using $(PHASE_) in Makefiles when building rather than $(PHASE_) or $(XPL_). It also starts on documenting this part of the build, but as a follow-up we need to rename doc/develop/spl.rst and expand on explaining things a bit. Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bb9ef67ddc8..38f2e2bb72a 100644
--- a/Makefile
+++ b/Makefile
@@ -837,7 +837,7 @@ UBOOTINCLUDE := \
-I$(srctree)/lib/mbedtls/port \
-I$(srctree)/lib/mbedtls/external/mbedtls \
-I$(srctree)/lib/mbedtls/external/mbedtls/include) \
- $(if $(CONFIG_$(XPL_)SYS_THUMB_BUILD), \
+ $(if $(CONFIG_$(PHASE_)SYS_THUMB_BUILD), \
$(if $(CONFIG_HAS_THUMB2), \
$(if $(CONFIG_CPU_V7M), \
-I$(srctree)/arch/arm/thumb1/include), \
@@ -874,7 +874,7 @@ libs-y += disk/
libs-y += drivers/
libs-$(CONFIG_SYS_FSL_DDR) += drivers/ddr/fsl/
libs-$(CONFIG_SYS_FSL_MMDC) += drivers/ddr/fsl/
-libs-$(CONFIG_$(XPL_)ALTERA_SDRAM) += drivers/ddr/altera/
+libs-$(CONFIG_$(PHASE_)ALTERA_SDRAM) += drivers/ddr/altera/
libs-y += drivers/usb/cdns3/
libs-y += drivers/usb/dwc3/
libs-y += drivers/usb/common/