]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
env: Provide another work-around for unquoting fdtfile
authorVagrant Cascadian <vagrant@debian.org>
Fri, 30 Jan 2026 04:04:23 +0000 (20:04 -0800)
committerTom Rini <trini@konsulko.com>
Tue, 10 Feb 2026 21:55:45 +0000 (15:55 -0600)
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@debian.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Makefile

index 435a4bf372df75229d01d9d5b0dbf398266c0866..75d407a24f5907724b44a106631afda0a8019600 100644 (file)
--- 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 \