[PATCH 28/42] drivers: Simplify Makefile condition

Simon Glass sjg at chromium.org
Fri Sep 27 00:35:53 CEST 2024


If TPL is enabled, XPL must be, so drop the redundant check.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/bus/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/bus/Makefile b/drivers/bus/Makefile
index e14cb7fd9c7..b7e6452c48c 100644
--- a/drivers/bus/Makefile
+++ b/drivers/bus/Makefile
@@ -3,7 +3,7 @@
 # Makefile for the bus drivers.
 #
 
-ifeq ($(CONFIG_XPL_BUILD)$(CONFIG_TPL_BUILD),)
+ifeq ($(CONFIG_XPL_BUILD),)
 obj-$(CONFIG_TI_PWMSS)	+= ti-pwmss.o
 obj-$(CONFIG_UNIPHIER_SYSTEM_BUS) += uniphier-system-bus.o
 endif
-- 
2.43.0



More information about the U-Boot mailing list