bugfix: incorrent way to check CONFIG_KERNEL_GIT_LOCAL_REPOSITORY

This commit is contained in:
hzy 2022-12-15 15:41:47 +00:00
parent aeba6437f1
commit 4b9e36cf9e

View File

@ -44,7 +44,7 @@ define Download/kernel
endef
KERNEL_GIT_OPTS:=
ifneq ($(strip $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY)),"")
ifneq ($(qstrip $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY)),)
KERNEL_GIT_OPTS+=--reference $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY)
endif