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)
16 lines
648 B
Makefile
16 lines
648 B
Makefile
ifeq ($(CONFIG_MTK_GAUGE_VERSION),30)
|
|
subdir-ccflags-y += -I$(srctree)/drivers/misc/mediatek/typec/tcpc/inc
|
|
subdir-ccflags-y += -I$(srctree)/drivers/power/supply/mediatek/charger
|
|
subdir-ccflags-y += -I$(srctree)/drivers/power/supply/mediatek/misc
|
|
endif
|
|
|
|
obj-$(CONFIG_MFD_MT6360_PMU) += mt6360_pmu_i2c.o mt6360_pmu_regmap.o\
|
|
mt6360_pmu_irq.o mt6360_pmu_subdev.o\
|
|
mt6360_pmu_core.o mt6360_pmu_adc.o
|
|
obj-$(CONFIG_MT6360_PMU_FLED) += mt6360_pmu_fled.o
|
|
obj-$(CONFIG_MT6360_PMU_RGBLED) += mt6360_pmu_rgbled.o mt_led_trigger.o
|
|
|
|
ifeq ($(CONFIG_MTK_GAUGE_VERSION),30)
|
|
obj-$(CONFIG_MT6360_PMU_CHARGER) += mt6360_pmu_chg.o mt6360_pmu_adc.o
|
|
endif
|