kernel_samsung_a34x-permissive/drivers/misc/mediatek/auxadc/Makefile
2024-04-28 15:51:13 +02:00

11 lines
255 B
Makefile

ifeq (y, $(filter y, $(CONFIG_MACH_MT6761)))
MTK_PLATFORM:= $(subst ",,mt6765)
else
MTK_PLATFORM:= $(subst ",,$(CONFIG_MTK_PLATFORM))
endif
ccflags-y += -I$(srctree)/drivers/misc/mediatek/auxadc/$(MTK_PLATFORM)
obj-$(CONFIG_MTK_AUXADC) += mtk_auxadc.o