mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
linux:
- add framebuffer console support only if build with devtools (disabled by default in kernel config for an nicer boot)
This commit is contained in:
parent
2b90149c1f
commit
27e44c2095
@ -24,6 +24,13 @@ cp $KERNEL_CFG_FILE $LINUX/.config
|
||||
sed -i -e "s|^CONFIG_INITRAMFS_SOURCE=.*$|CONFIG_INITRAMFS_SOURCE=\"$ROOT/$PKG_DIR/config/initramfs\"|" \
|
||||
$LINUX/.config
|
||||
|
||||
if [ "$DEVTOOLS" = yes ]; then
|
||||
echo "CONFIG_FRAMEBUFFER_CONSOLE=y" >> $LINUX/.config
|
||||
echo "CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y" >> $LINUX/.config
|
||||
echo "CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=n" >> $LINUX/.config
|
||||
echo "CONFIG_FONTS=n" >> $LINUX/.config
|
||||
fi
|
||||
|
||||
# copy some extra firmware to linux tree
|
||||
cp -R $PKG_DIR/firmware/* $LINUX/firmware
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user