2016-09-01 09:43:28 -07:00
|
|
|
#
|
|
|
|
|
# Copyright (C) 2016 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.
|
|
|
|
|
#
|
|
|
|
|
|
2017-01-25 19:50:38 -08:00
|
|
|
TARGET_BOOTLOADER_BOARD_NAME := walleye
|
2016-09-15 16:12:08 -07:00
|
|
|
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x00000056
|
2016-09-01 09:43:28 -07:00
|
|
|
|
2017-03-04 12:51:08 -08:00
|
|
|
include device/google/wahoo/BoardConfig.mk
|
2023-04-20 21:19:58 +08:00
|
|
|
-include vendor/google_devices/walleye/proprietary/BoardConfigVendor.mk
|
2017-03-23 12:29:57 -07:00
|
|
|
|
2017-04-19 15:03:55 -07:00
|
|
|
BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
|
2017-03-29 11:13:28 -07:00
|
|
|
|
2023-04-20 21:19:58 +08:00
|
|
|
#sepolicy common to walleye
|
|
|
|
|
BOARD_VENDOR_SEPOLICY_DIRS += device/google/walleye/sepolicy
|
2017-05-09 16:12:56 -07:00
|
|
|
|
|
|
|
|
# Testing related defines
|
|
|
|
|
BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/wahoo-setup.sh
|
2017-05-16 14:37:20 -07:00
|
|
|
|
|
|
|
|
BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/
|
2018-01-08 16:39:17 -08:00
|
|
|
|
|
|
|
|
# VTS DTBO Verification. This kernel cmdline parameter should be added by the bootloader
|
|
|
|
|
# for all future devices.
|
|
|
|
|
BOARD_KERNEL_CMDLINE += androidboot.dtbo_idx=3
|
2019-04-01 08:48:58 -07:00
|
|
|
|
2017-03-21 10:25:58 -07:00
|
|
|
# Partitions (listed in the file) to be wiped under recovery.
|
|
|
|
|
TARGET_RECOVERY_WIPE := device/google/walleye/recovery.wipe
|
|
|
|
|
|
|
|
|
|
#BOARD_EXT4_SHARE_DUP_BLOCKS := true
|
|
|
|
|
|
2019-06-03 15:30:17 -07:00
|
|
|
TARGET_RECOVERY_UI_LIB := \
|
|
|
|
|
librecovery_ui_walleye \
|
|
|
|
|
libfstab
|
2022-03-25 10:10:52 -07:00
|
|
|
|
|
|
|
|
# Board uses A/B OTA.
|
|
|
|
|
AB_OTA_UPDATER := true
|
|
|
|
|
|
|
|
|
|
AB_OTA_PARTITIONS += \
|
|
|
|
|
boot \
|
|
|
|
|
system \
|
|
|
|
|
vbmeta \
|
|
|
|
|
dtbo \
|
2022-03-25 10:13:44 -07:00
|
|
|
vendor \
|
|
|
|
|
product
|