diff options
author | Herve Jourdain <herve.jourdain@neuf.fr> | 2016-07-21 20:32:16 +0800 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-09-21 16:51:27 +0100 |
commit | ef22ff49e92d009dee0b561048740737ca56cca8 (patch) | |
tree | 11aab25bb435e9790bf9e064e066ab982cfaf953 /recipes-kernel | |
parent | 6b4de2bb90f69b1bf6a9a73dab4c26a2017d0851 (diff) | |
download | meta-raspberrypi-ef22ff49e92d009dee0b561048740737ca56cca8.tar.gz |
linux-rpi.inc: add the configuration options required to support vc4graphics
Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-rpi.inc | 10 |
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' |