mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
u-boot: explicitly enable decompression
u-boot defconfigs don't enable decompression routines required if we want to use compressed kernel image. Enable them to be able to compress kernel and run it.
This commit is contained in:
parent
1122893a50
commit
9e39ce6f1c
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user