From b316ce96525d8ac84c0753435765aad7ba7ea74c Mon Sep 17 00:00:00 2001 From: Manish Bhardwaj Date: Mon, 3 Oct 2022 15:23:10 +0530 Subject: [PATCH] nvidia-oot: fix dtb compilation error. Using this patch we are fixing below compilation error when adding support for virtualized dtbs. /bin/sh: 1: [: /home/mbhardwaj/kernel_only/out/ embedded-linux-generic-release/nvidia/ kernel-rt_patches-nvidia-oot/nvidia-oot/device-tree/ platform//hardware/nvidia/platform/t23x/concord/kernel-dts/ tegra234-p3701-0000-p3737-0000.dtb: unexpected operator Bug 3787936 Signed-off-by: Manish Bhardwaj Change-Id: Id832d5481d0a7aa034017afbc4a778c75773b9f7 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2785363 Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5310871..608a8c3 100644 --- a/Makefile +++ b/Makefile @@ -106,7 +106,7 @@ dtbs: $(DTB_OBJS) $(DTBO_OBJS) FORCE if [ ! -d $(obj)/dtbs/ ] ; then \ mkdir -p $(obj)/dtbs/ ; \ fi - if [ ! -z $(DTBS_DTBOS) ] ; then \ + if [ ! -z "$(DTBS_DTBOS)" ] ; then \ cp -u $(DTB_OBJS) $(DTBO_OBJS) $(obj)/dtbs/ ; \ fi if [ -d $(obj)/hardware/ ] ; then \