mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-31 22:47:51 +00:00
Merge pull request #4818 from dhewg/crust-fixup
fix warnings with unset UBOOT_SYSTEM
This commit is contained in:
commit
afeb291cd6
@ -30,9 +30,10 @@ case "$LINUX" in
|
||||
esac
|
||||
|
||||
PKG_KERNEL_CFG_FILE=$(kernel_config_path) || die
|
||||
|
||||
if [ -n "$($ROOT/$SCRIPTS/uboot_helper $PROJECT $DEVICE $UBOOT_SYSTEM crust_config)" ]; then
|
||||
if [ -n "$UBOOT_SYSTEM" ]; then
|
||||
if [ -n "$($ROOT/$SCRIPTS/uboot_helper $PROJECT $DEVICE $UBOOT_SYSTEM crust_config)" ]; then
|
||||
PKG_PATCH_DIRS="$PKG_PATCH_DIRS crust"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$KERNEL_TOOLCHAIN" ]; then
|
||||
|
@ -18,7 +18,8 @@ if [ -n "$UBOOT_FIRMWARE" ]; then
|
||||
PKG_DEPENDS_UNPACK+=" $UBOOT_FIRMWARE"
|
||||
fi
|
||||
|
||||
CRUST_CONFIG=$($ROOT/$SCRIPTS/uboot_helper $PROJECT $DEVICE $UBOOT_SYSTEM crust_config)
|
||||
CRUST_CONFIG=""
|
||||
[ -n "$UBOOT_SYSTEM" ] && CRUST_CONFIG=$($ROOT/$SCRIPTS/uboot_helper $PROJECT $DEVICE $UBOOT_SYSTEM crust_config)
|
||||
[ -n "$CRUST_CONFIG" ] && PKG_DEPENDS_TARGET+=" crust"
|
||||
|
||||
PKG_NEED_UNPACK="$PROJECT_DIR/$PROJECT/bootloader"
|
||||
|
Loading…
x
Reference in New Issue
Block a user