summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/linux/linux-rpi.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
index 4b65fc2..3eeefee 100644
--- a/recipes-kernel/linux/linux-rpi.inc
+++ b/recipes-kernel/linux/linux-rpi.inc
@@ -111,6 +111,16 @@ do_configure_prepend() {
111 # Activate CONFIG_LEGACY_PTYS 111 # Activate CONFIG_LEGACY_PTYS
112 kernel_configure_variable LEGACY_PTYS y 112 kernel_configure_variable LEGACY_PTYS y
113 113
114 # Activate the configuration options for VC4
115 VC4GRAPHICS="${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "1", "0", d)}"
116 if [ ${VC4GRAPHICS} = "1" ]; then
117 kernel_configure_variable I2C_BCM2835 y
118 kernel_configure_variable DRM y
119 kernel_configure_variable DRM_FBDEV_EMULATION n
120 kernel_configure_variable DRM_VC4 y
121 kernel_configure_variable FB_BCM2708 n
122 fi
123
114 # Keep this the last line 124 # Keep this the last line
115 # Remove all modified configs and add the rest to .config 125 # Remove all modified configs and add the rest to .config
116 sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config' 126 sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'