From 0bde1b208e39b3deab4f442ba9eaafb3c09d3d2f Mon Sep 17 00:00:00 2001 From: chandu078 Date: Sun, 18 Jun 2023 18:13:44 +0200 Subject: [PATCH] graphics-kernel: Add kbuild options from Android.mk to Makefile Change-Id: Iac5c8834b16f8857b616b9bf0157e51322161e7b Signed-off-by: chandu078 --- qcom/opensource/graphics-kernel/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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