]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sandbox: Correct SPL condition for building devicetree
authorSimon Glass <sjg@chromium.org>
Sun, 17 Dec 2023 16:36:21 +0000 (09:36 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Dec 2023 14:21:02 +0000 (07:21 -0700)
With sandbox, CONFIG_SANDBOX is y so the current rule ends up building
the devicetree for only those SPL builds where it is unwanted.

Correct the condition. This allows sandbox_vpl to produce a
u-boot-vpl.dtb file.

Fixes: e7fb789612e ("sandbox: Remove OF_HOSTFILE")
Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.spl

index e450ffd5d5ef6e398af6757382d20b7968efc06c..407fc52376a5066c2e39530df9782287ec6d7cbf 100644 (file)
@@ -314,7 +314,7 @@ endif
 #   - we have either OF_SEPARATE or OF_HOSTFILE
 build_dtb :=
 ifneq ($(CONFIG_$(SPL_TPL_)OF_REAL),)
-ifeq ($(CONFIG_OF_SEPARATE)$(CONFIG_SANDBOX),y)
+ifneq ($(CONFIG_OF_SEPARATE)$(CONFIG_SANDBOX),)
 build_dtb := y
 endif
 endif