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)
25 lines
1011 B
Makefile
25 lines
1011 B
Makefile
ifeq ($(CONFIG_MTK_SENSOR_SUPPORT),y)
|
|
obj-$(CONFIG_CUSTOM_KERNEL_SENSORHUB) += sensorHub/
|
|
obj-$(CONFIG_MTK_HWMON) += hwmon/
|
|
obj-$(CONFIG_CUSTOM_KERNEL_ALSPS) += alsps/
|
|
ifeq ($(CONFIG_CUSTOM_KERNEL_ACCELGYRO),y)
|
|
obj-y += accelgyro/
|
|
else
|
|
obj-$(CONFIG_CUSTOM_KERNEL_ACCELEROMETER) += accelerometer/
|
|
obj-$(CONFIG_CUSTOM_KERNEL_GYROSCOPE) += gyroscope/
|
|
endif
|
|
obj-$(CONFIG_CUSTOM_KERNEL_MAGNETOMETER) += magnetometer/
|
|
obj-$(CONFIG_CUSTOM_KERNEL_BAROMETER) += barometer/
|
|
#obj-$(CONFIG_CUSTOM_KERNEL_HUMIDITY) += humidity/
|
|
obj-$(CONFIG_CUSTOM_KERNEL_STEP_COUNTER) += step_counter/
|
|
obj-$(CONFIG_CUSTOM_KERNEL_SIGNIFICANT_MOTION_SENSOR) += step_counter/
|
|
obj-$(CONFIG_CUSTOM_KERNEL_ACTIVITY_SENSOR) += activity_sensor/
|
|
obj-$(CONFIG_CUSTOM_KERNEL_SITUATION) += situation/
|
|
#obj-$(CONFIG_CUSTOM_KERNEL_PEDOMETER) += pedometer/
|
|
obj-$(CONFIG_CUSTOM_KERNEL_SENSOR_FUSION) += sensorfusion/
|
|
#obj-$(CONFIG_MTK_KERNEL_GEOFENCE) += geofence/
|
|
obj-$(CONFIG_CUSTOM_KERNEL_BIOMETRIC_SENSOR) += biometric/
|
|
else
|
|
obj-y += dummy.o
|
|
endif
|