Files
device_google_taimen/BoardConfig.mk
eunsoo.na c91d4b4b08 taimen: Add lge battery linux kernel module
Test: lge_battery is loaded (logs present)
Bug: 62023915
Bug: 36789160
Change-Id: I21bbb1f4beb46e603ccf844003e983b7ad55667d
Signed-off-by: eunsoo.na <eunsoo.na@lge.com>
2017-05-23 13:58:58 -07:00

55 lines
2.0 KiB
Makefile

#
# Copyright (C) 2017 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
TARGET_BOOTLOADER_BOARD_NAME := taimen
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x000000ff
BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200,n8 earlycon=msm_serial_dm,0xc1b0000
include device/google/wahoo/BoardConfig.mk
BOARD_BOOTIMAGE_PARTITION_SIZE := 41943040
BOARD_AVB_ENABLE := true
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 \
device/google/wahoo-kernel/clang/lge_battery.ko
else ifeq (,$(filter-out taimen_gcc, $(TARGET_PRODUCT)))
# if TARGET_PRODUCT == taimen_gcc
BOARD_VENDOR_KERNEL_MODULES += \
device/google/wahoo-kernel/gcc/touch_core_base.ko \
device/google/wahoo-kernel/gcc/ftm4.ko \
device/google/wahoo-kernel/gcc/sw49408.ko \
device/google/wahoo-kernel/gcc/lge_battery.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 \
device/google/wahoo-kernel/lge_battery.ko
endif
-include vendor/google_devices/taimen/proprietary/BoardConfigVendor.mk
# Testing related defines
BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/wahoo-setup.sh
BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/