From 2ca6e42ac500f4f9de50ad6d15dca2150cf070c4 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 12 May 2021 02:19:48 +0300 Subject: kbuild: Fix DT build Introduction of the kernel component selection build option broke DT build. Fix it. Fixes: e7385853e45b ("kbuild: Add options to selectively compile kernel components") Signed-off-by: Laurent Pinchart --- kbuild.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kbuild.sh b/kbuild.sh index 9eeaa56..93df105 100755 --- a/kbuild.sh +++ b/kbuild.sh @@ -248,7 +248,7 @@ fi # kernel_dtbs= -if [[ ${do_build[dtbs]} == 1 ]] ; then +if [[ ${do_build[dt]} == 1 ]] ; then for dtb in ${dtbs[@]} ; do dtb=${dtb/:*/} kernel_dtbs="$kernel_dtbs $dtb" @@ -305,7 +305,7 @@ copy_dtbs() { local dest_dir=$1 local dtb - if [[ ${do_build[dtbs]} != 1 ]] ; then + if [[ ${do_build[dt]} != 1 ]] ; then return fi -- cgit v1.2.3