bmi088: Add build dependency on HTE

The BMI088 driver is dependent upon the HTE driver and so only build the
BMI088 driver if HTE is enabled.

Bug 3961133

Change-Id: I1338d44f4814fb23636206081019ea9cb1390fcc
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3093706
Reviewed-by: Gautham Srinivasan <gauthams@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Brad Griffis <bgriffis@nvidia.com>
This commit is contained in:
Jon Hunter
2024-03-11 12:05:16 +00:00
committed by mobile promotions
parent 4a31d7ed61
commit 003bd8ed9b

View File

@@ -32,10 +32,12 @@ endif
ifdef CONFIG_I2C ifdef CONFIG_I2C
obj-m += i2c/busses/ obj-m += i2c/busses/
obj-m += mfd/ obj-m += mfd/
ifdef CONFIG_HTE
ifdef CONFIG_IIO ifdef CONFIG_IIO
obj-m += bmi088/ obj-m += bmi088/
endif endif
endif endif
endif
ifdef CONFIG_MEMORY ifdef CONFIG_MEMORY
obj-m += memory/ obj-m += memory/
endif endif