Skip to content

Commit

Permalink
u-boot: Fail if config is wrongly configured
Browse files Browse the repository at this point in the history
  • Loading branch information
jernejsk authored and MilhouseVH committed Jun 13, 2019
1 parent f8ec587 commit dc1d839
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/tools/u-boot/package.mk
Expand Up @@ -35,7 +35,10 @@ esac

post_patch() {
if [ -n "$UBOOT_SYSTEM" ] && find_file_path bootloader/config; then
cat $FOUND_PATH >> "$PKG_BUILD/configs/$($ROOT/$SCRIPTS/uboot_helper $PROJECT $DEVICE $UBOOT_SYSTEM config)"
PKG_CONFIG_FILE="$PKG_BUILD/configs/$($ROOT/$SCRIPTS/uboot_helper $PROJECT $DEVICE $UBOOT_SYSTEM config)"
if [ -f "$PKG_CONFIG_FILE" ]; then
cat $FOUND_PATH >> "$PKG_CONFIG_FILE"
fi
fi
}

Expand Down

0 comments on commit dc1d839

Please sign in to comment.