Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
27 lines
826 B
Makefile
27 lines
826 B
Makefile
mtk_jpeg-objs := mtk_jpeg_core.o \
|
|
mtk_jpeg_enc_hw.o \
|
|
mtk_jpeg_dec_hw.o \
|
|
mtk_jpeg_dec_parse.o
|
|
obj-y += mtk_jpeg.o
|
|
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/smi
|
|
|
|
|
|
ifeq ($(CONFIG_MACH_MT6781),y)
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/mt6781/include
|
|
else
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat/$(MTK_PLATFORM)/include
|
|
endif
|
|
|
|
ccflags-y += -I$(srctree)/drivers/iommu/
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/include/mt-plat
|
|
|
|
ifeq ($(CONFIG_MACH_MT6781),y)
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/smi/mt6781
|
|
else
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/smi/$(MTK_PLATFORM)
|
|
endif
|
|
|
|
ccflags-y += -I$(srctree)/drivers/staging/android/ion
|
|
ccflags-y += -I$(srctree)/drivers/staging/android/ion/mtk
|
|
ccflags-y += -I$(srctree)/drivers/misc/mediatek/mmdvfs
|