mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-01-27 15:59:12 +00:00
taimen: include correct kernel modules
Based on whether the lunch target is set to taimen, taimen_clang, or taimen_gcc. Bug: 32455818 Change-Id: I0299aa01649ca3fa5ebf050364da7f15a7b240da
This commit is contained in:
@@ -24,16 +24,23 @@ include device/google/wahoo/BoardConfig.mk
|
||||
BOARD_BOOTIMAGE_PARTITION_SIZE := 41943040
|
||||
BOARD_AVB_ENABLE := true
|
||||
|
||||
ifeq (,$(filter taimen_clang, $(TARGET_PRODUCT)))
|
||||
BOARD_VENDOR_KERNEL_MODULES += \
|
||||
device/google/wahoo-kernel/touch_core_base.ko \
|
||||
device/google/wahoo-kernel/ftm4.ko \
|
||||
device/google/wahoo-kernel/sw49408.ko
|
||||
else
|
||||
ifeq (,$(filter-out taimen_clang, $(TARGET_PRODUCT)))
|
||||
# if TARGET_PRODUCT == taimen_clang
|
||||
BOARD_VENDOR_KERNEL_MODULES += \
|
||||
device/google/wahoo-kernel/clang/touch_core_base.ko \
|
||||
device/google/wahoo-kernel/clang/ftm4.ko \
|
||||
device/google/wahoo-kernel/clang/sw49408.ko
|
||||
else ifeq (,$(filter-out taimen_gcc, $(TARGET_PRODUCT)))
|
||||
BOARD_VENDOR_KERNEL_MODULES += \
|
||||
# if TARGET_PRODUCT == taimen_gcc
|
||||
device/google/wahoo-kernel/gcc/touch_core_base.ko \
|
||||
device/google/wahoo-kernel/gcc/ftm4.ko \
|
||||
device/google/wahoo-kernel/gcc/sw49408.ko
|
||||
else
|
||||
BOARD_VENDOR_KERNEL_MODULES += \
|
||||
device/google/wahoo-kernel/touch_core_base.ko \
|
||||
device/google/wahoo-kernel/ftm4.ko \
|
||||
device/google/wahoo-kernel/sw49408.ko
|
||||
endif
|
||||
|
||||
-include vendor/google_devices/taimen/proprietary/BoardConfigVendor.mk
|
||||
|
||||
Reference in New Issue
Block a user