Skip to content

Commit

Permalink
[defconfig] disable MTK_FB
Browse files Browse the repository at this point in the history
[mtk/lcm] needs more include incase mtk_fb is disabled

Adding all include of MTK_FB just in case
  • Loading branch information
WHO53 committed Sep 9, 2024
1 parent eb362c1 commit cd17789
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm64/configs/akita_row_call_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ CONFIG_MTK_JPEG=y
CONFIG_MTK_LCM=y
CONFIG_CUSTOM_KERNEL_LCM="ft8201_wxga_vdo_incell_boe ft8201_wxga_vdo_incell_inx virtual_dsi_vdo_default"
CONFIG_MTK_SYNC=y
CONFIG_MTK_FB=y
# CONFIG_MTK_FB is not set
CONFIG_MTK_LCM_PHYSICAL_ROTATION="0"
CONFIG_MTK_ROUND_CORNER_SUPPORT=y
CONFIG_LCM_HEIGHT="1280"
Expand Down
7 changes: 6 additions & 1 deletion drivers/misc/mediatek/lcm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,12 @@ obj-$(CONFIG_MTK_LCM) += mt65xx_lcm_list.o \
LCM_LISTS := $(subst ",,$(CONFIG_CUSTOM_KERNEL_LCM))
obj-$(CONFIG_MTK_LCM) += $(foreach LCM,$(LCM_LISTS),$(LCM)/)

subdir-ccflags-$(CONFIG_MTK_LCM) += -I$(srctree)/drivers/misc/mediatek/lcm/inc
subdir-ccflags-$(CONFIG_MTK_LCM) += -I$(srctree)/drivers/misc/mediatek/lcm/inc \
-I$(rrctree)/drivers/misc/mediatek/video/$(MTK_PLATFORM)/dispsys \
-I$(srctree)/drivers/misc/mediatek/video/$(MTK_PLATFORM)/dispsys/mt6735 \
-I$(srctree)/drivers/misc/mediatek/video/$(MTK_PLATFORM)/videox \
-I$(srctree)/drivers/misc/mediatek/video/include

subdir-ccflags-$(CONFIG_MTK_FB) += -I$(srctree)/drivers/misc/mediatek/video/$(MTK_PLATFORM)/dispsys \
-I$(srctree)/drivers/misc/mediatek/video/$(MTK_PLATFORM)/dispsys/mt6735 \
-I$(srctree)/drivers/misc/mediatek/video/$(MTK_PLATFORM)/videox \
Expand Down

0 comments on commit cd17789

Please sign in to comment.