mirror of
git://git.yoctoproject.org/meta-raspberrypi
synced 2026-04-02 02:49:12 +00:00
linux-rpi.inc: add the configuration options required to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
This commit is contained in:
parent
6b4de2bb90
commit
ef22ff49e9
@ -111,6 +111,16 @@ do_configure_prepend() {
|
||||
# Activate CONFIG_LEGACY_PTYS
|
||||
kernel_configure_variable LEGACY_PTYS y
|
||||
|
||||
# Activate the configuration options for VC4
|
||||
VC4GRAPHICS="${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}"
|
||||
if [ ${VC4GRAPHICS} = "1" ]; then
|
||||
kernel_configure_variable I2C_BCM2835 y
|
||||
kernel_configure_variable DRM y
|
||||
kernel_configure_variable DRM_FBDEV_EMULATION n
|
||||
kernel_configure_variable DRM_VC4 y
|
||||
kernel_configure_variable FB_BCM2708 n
|
||||
fi
|
||||
|
||||
# Keep this the last line
|
||||
# Remove all modified configs and add the rest to .config
|
||||
sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user