MGS-3856-2 [#imx-1018] disable openvg2d for arm64 build
authorXianzhong <xianzhong.li@nxp.com>
Fri, 4 May 2018 11:19:39 +0000 (19:19 +0800)
committerXianzhong <xianzhong.li@nxp.com>
Sun, 6 May 2018 12:19:49 +0000 (20:19 +0800)
MX8 chips does not have GC355. So no need to build the drivers

Signed-off-by : Xianzhong Li <xianzhong.li@nxp.com>
Reviewed-by : Prabhu Sundararaj <prabhu.sundararaj@nxp.com>

(cherry picked from commit a85b9583d459d6a0888db30564f0136739d7ec26)

drivers/mxc/gpu-viv/Kbuild

index 39141de..a011a78 100644 (file)
@@ -125,6 +125,10 @@ ifeq ($(VIVANTE_ENABLE_3D), 1)
 OBJS += $(ARCH_KERNEL_DIR)/gc_hal_kernel_recorder.o
 endif
 
+ifneq ($(CONFIG_ARM64),)
+VIVANTE_ENABLE_VG=0
+endif
+
 ifeq ($(VIVANTE_ENABLE_VG), 1)
 OBJS +=\
           $(HAL_KERNEL_DIR)/gc_hal_kernel_vg.o\