[PATCH 1/2] env: Provide another work-around for unquoting fdtfile

vagrant at debian.org vagrant at debian.org
Fri Jan 30 05:04:23 CET 2026


From: Vagrant Cascadian <vagrant at debian.org>

Some boards use CONFIG_DEFAULT_FDT_FILE to specify the value of
fdtfile, althugh the quotes get embedded in the value.

Provide DEFAULT_FDT_FILE with the quotes stripped.

This is a similar work-around to the one provided in commit
d085e692c98d0d7b57cc577ed9befda159cd4a40 for
CONFIG_DEFAULT_DEVICE_TREE.

Signed-off-by: Vagrant Cascadian <vagrant at debian.org>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 435a4bf372d..75d407a24f5 100644
--- a/Makefile
+++ b/Makefile
@@ -2138,6 +2138,7 @@ quiet_cmd_gen_envp = ENVP    $@
 			-D__ASSEMBLY__ \
 			-D__UBOOT_CONFIG__ \
 			-DDEFAULT_DEVICE_TREE=$(subst ",,$(CONFIG_DEFAULT_DEVICE_TREE)) \
+			-DDEFAULT_FDT_FILE=$(subst ",,$(CONFIG_DEFAULT_FDT_FILE)) \
 			-I . -I include -I $(srctree)/include \
 			-include linux/kconfig.h -include include/config.h \
 			-I$(srctree)/arch/$(ARCH)/include \
-- 
2.47.3



More information about the U-Boot mailing list