aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-12-17 09:36:21 -0700
committerSimon Glass <sjg@chromium.org>2023-12-31 07:21:02 -0700
commit0b2e47be2c6b37e6026e36ed3a8656a7ed598ce1 (patch)
treefc4b4a64afc30a9db6067fc588abcedd0c577c78 /scripts
parent61a695e451fb6abe65de193c70dd981af6fb7a51 (diff)
downloadu-boot-0b2e47be2c6b37e6026e36ed3a8656a7ed598ce1.zip
u-boot-0b2e47be2c6b37e6026e36ed3a8656a7ed598ce1.tar.gz
u-boot-0b2e47be2c6b37e6026e36ed3a8656a7ed598ce1.tar.bz2
sandbox: Correct SPL condition for building devicetree
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>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.spl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl
index e450ffd..407fc52 100644
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
@@ -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