2017-02-06 16:06:08 -08:00
|
|
|
#
|
|
|
|
|
# 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
|
2017-05-16 15:42:22 -07:00
|
|
|
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x000000ff
|
2017-02-06 16:06:08 -08:00
|
|
|
|
2017-03-07 16:28:20 -08:00
|
|
|
BOARD_KERNEL_CMDLINE += console=ttyMSM0,115200,n8 earlycon=msm_serial_dm,0xc1b0000
|
|
|
|
|
|
2017-03-04 13:02:35 -08:00
|
|
|
include device/google/wahoo/BoardConfig.mk
|
2017-03-04 04:33:04 +09:00
|
|
|
|
2017-05-17 16:18:47 -07:00
|
|
|
BOARD_SEPOLICY_DIRS += device/google/taimen/sepolicy
|
2017-03-04 04:33:04 +09:00
|
|
|
BOARD_BOOTIMAGE_PARTITION_SIZE := 41943040
|
|
|
|
|
BOARD_AVB_ENABLE := true
|
|
|
|
|
|
2017-05-18 14:44:33 -07:00
|
|
|
ifeq (,$(filter-out taimen_clang, $(TARGET_PRODUCT)))
|
|
|
|
|
# if TARGET_PRODUCT == taimen_clang
|
2017-05-08 14:59:15 -07:00
|
|
|
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
|
2017-05-18 14:44:33 -07:00
|
|
|
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
|
2017-05-08 14:59:15 -07:00
|
|
|
endif
|
|
|
|
|
|
2017-04-25 18:10:48 -07:00
|
|
|
-include vendor/google_devices/taimen/proprietary/BoardConfigVendor.mk
|
2017-05-09 16:38:48 -07:00
|
|
|
|
|
|
|
|
# Testing related defines
|
|
|
|
|
BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/wahoo-setup.sh
|
2017-05-16 14:36:11 -07:00
|
|
|
|
|
|
|
|
BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/
|