linux: fix warnings with unset UBOOT_SYSTEM

This commit is contained in:
Andre Heider 2020-12-31 11:55:07 +01:00
parent b2570604aa
commit 669f85502f

View File

@ -30,9 +30,10 @@ case "$LINUX" in
esac esac
PKG_KERNEL_CFG_FILE=$(kernel_config_path) || die PKG_KERNEL_CFG_FILE=$(kernel_config_path) || die
if [ -n "$UBOOT_SYSTEM" ]; then
if [ -n "$($ROOT/$SCRIPTS/uboot_helper $PROJECT $DEVICE $UBOOT_SYSTEM crust_config)" ]; then if [ -n "$($ROOT/$SCRIPTS/uboot_helper $PROJECT $DEVICE $UBOOT_SYSTEM crust_config)" ]; then
PKG_PATCH_DIRS="$PKG_PATCH_DIRS crust" PKG_PATCH_DIRS="$PKG_PATCH_DIRS crust"
fi
fi fi
if [ -n "$KERNEL_TOOLCHAIN" ]; then if [ -n "$KERNEL_TOOLCHAIN" ]; then