Skip to content

Commit

Permalink
Merge pull request LibreELEC#3493 from kszaq/u-boot-compression
Browse files Browse the repository at this point in the history
u-boot: explicitly enable decompression
  • Loading branch information
jernejsk committed May 9, 2019
2 parents 31b0ece + 5e43354 commit fd8c5a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/tools/u-boot/package.mk
Expand Up @@ -33,6 +33,13 @@ case "$PROJECT" in
;;
esac

post_patch() {
if [ -n "$UBOOT_SYSTEM" ]; then
# Enable LZ4, LZO and LZMA decompression support
echo -e "CONFIG_LZ4=y\nCONFIG_LZO=y\nCONFIG_LZMA=y" >> "$PKG_BUILD/configs/$($ROOT/$SCRIPTS/uboot_helper $PROJECT $DEVICE $UBOOT_SYSTEM config)"
fi
}

make_target() {
if [ -z "$UBOOT_SYSTEM" ]; then
echo "UBOOT_SYSTEM must be set to build an image"
Expand Down

0 comments on commit fd8c5a7

Please sign in to comment.