aboutsummaryrefslogtreecommitdiff
path: root/linux/linux.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2018-02-15 14:57:52 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-02-15 21:44:55 +0100
commit4fdf2d642b8d1a7fcabf1a995887c33581fa7aad (patch)
tree56f620c7c8beb63f900cf1db719b9b691434cadb /linux/linux.mk
parent7e469bb64641e510f7ebae4b31e537e3997fa6ef (diff)
downloadbuildroot-4fdf2d642b8d1a7fcabf1a995887c33581fa7aad.tar.gz
buildroot-4fdf2d642b8d1a7fcabf1a995887c33581fa7aad.tar.bz2
sunxi-mali-mainline-driver: new package
Add allwinner mali kernel driver package. Used in combination with userspace Allwinner openGL libraries, it gives possibility to use 3D openGL SoC acceleration. [Peter: Rename to sunxi-mali-mainline-driver. Use revision selection from sunxi-mali-mainline package. Depend on that package and default to y if dependencies are met. Tweak Linux config] Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'linux/linux.mk')
-rw-r--r--linux/linux.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index 5300b9cfc5..776304e730 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -291,6 +291,9 @@ define LINUX_KCONFIG_FIXUP_CMDS
$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_SMACK,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_SECURITY_NETWORK,$(@D)/.config))
+ $(if $(BR2_PACKAGE_SUNXI_MALI_MAINLINE_DRIVER),
+ $(call KCONFIG_ENABLE_OPT,CONFIG_CMA,$(@D)/.config)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_DMA_CMA,$(@D)/.config))
$(if $(BR2_PACKAGE_IPTABLES),
$(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_IPTABLES,$(@D)/.config)
$(call KCONFIG_ENABLE_OPT,CONFIG_IP_NF_FILTER,$(@D)/.config)