caiman: add etm modules in userdebug/eng builds

Since etm modules are not in the normal kernel prebuilts,
they get left out of modules.load. So also import rc
file to load them.

Bug: 321061072
Test: build and run caiman
Change-Id: Iaf41244bc1135b7528d3a3ec3e92a4e644f5ee53
This commit is contained in:
Yabin Cui 2024-02-28 10:13:56 -08:00
parent ca29bc0475
commit 06b08f2a8b
3 changed files with 16 additions and 0 deletions

View file

@ -379,3 +379,8 @@ SUPPORT_RIL_DOMAIN_SELECTION := true
# Thread HAL
PRODUCT_PACKAGES += \
com.google.caimito.hardware.threadnetwork
# ETM
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
endif