Quellcode durchsuchen

display-drivers: Add kbuild options from Android.mk to Makefile

Change-Id: Ice9f0341c9b0d335054aeb7224f800b38477641e
Signed-off-by: chandu078 <[email protected]>
Signed-off-by: Bruno Martins <[email protected]>
Arian vor 2 Jahren
Ursprung
Commit
4c6a95a53f
1 geänderte Dateien mit 6 neuen und 1 gelöschten Zeilen
  1. 6 1
      qcom/opensource/display-drivers/msm/Makefile

+ 6 - 1
qcom/opensource/display-drivers/msm/Makefile

@@ -1,6 +1,11 @@
 # SPDX-License-Identifier: GPL-2.0
 
-KBUILD_OPTIONS+= DISPLAY_ROOT=$(KERNEL_SRC)/$(M)/../
+DISPLAY_SELECT := CONFIG_DRM_MSM=m
+
+KBUILD_OPTIONS += DISPLAY_ROOT=$(KERNEL_SRC)/$(M)/../
+KBUILD_OPTIONS += BOARD_PLATFORM=pineapple
+KBUILD_OPTIONS += $(DISPLAY_SELECT)
+KBUILD_OPTIONS += KBUILD_EXTRA_SYMBOLS=$(OUT_DIR)/../sm8650-modules/qcom/opensource/mmrm-driver/Module.symvers
 
 all: modules