diff --git a/qcom/opensource/graphics-kernel/Makefile b/qcom/opensource/graphics-kernel/Makefile index 26501f9779..198d3cfbc0 100644 --- a/qcom/opensource/graphics-kernel/Makefile +++ b/qcom/opensource/graphics-kernel/Makefile @@ -3,7 +3,11 @@ CUR_MKFILE = $(abspath $(lastword $(MAKEFILE_LIST))) KGSL_MODULE_ROOT = $(dir $(CUR_MKFILE)) endif -KBUILD_OPTIONS+=KGSL_PATH=$(KGSL_MODULE_ROOT) +KBUILD_OPTIONS += CONFIG_QCOM_KGSL=m +KBUILD_OPTIONS += BOARD_PLATFORM=pineapple +KBUILD_OPTIONS += $(KGSL_SELECT) +KBUILD_OPTIONS += MODNAME=msm_kgsl +KBUILD_OPTIONS += KGSL_PATH=$(KGSL_MODULE_ROOT) all: modules