Files
device_google_walleye/BoardConfig.mk
Asriadi Rahim 0b81037214 walleye: Define fstab.hardware
* Since walleye and taimen require repartitioning
so the definition of the system_ext is also different, we need different fstab adjustments,
on the other hand this is necessary because we are no longer mounting from the kernel side.
* Fixed walleye cant boot normaly or bring back to recovery mode after flash the rom

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-20 23:47:05 +08:00

60 lines
1.7 KiB
Makefile

#
# 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.
#
TARGET_BOOTLOADER_BOARD_NAME := walleye
DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS := 0x00000056
include device/google/wahoo/BoardConfig.mk
-include vendor/google_devices/walleye/proprietary/BoardConfigVendor.mk
BOARD_BOOTIMAGE_PARTITION_SIZE := 33554432
#sepolicy common to walleye
BOARD_VENDOR_SEPOLICY_DIRS += device/google/walleye/sepolicy
# Testing related defines
BOARD_PERFSETUP_SCRIPT := platform_testing/scripts/perf-setup/wahoo-setup.sh
BOARD_LISA_TARGET_SCRIPTS := device/google/wahoo/lisa/
# VTS DTBO Verification. This kernel cmdline parameter should be added by the bootloader
# for all future devices.
BOARD_KERNEL_CMDLINE += androidboot.dtbo_idx=3
# Partitions (listed in the file) to be wiped under recovery.
TARGET_RECOVERY_WIPE := device/google/walleye/recovery.wipe
TARGET_RECOVERY_FSTAB := device/google/walleye/fstab.hardware
#BOARD_EXT4_SHARE_DUP_BLOCKS := true
TARGET_RECOVERY_UI_LIB := \
librecovery_ui_walleye \
libfstab
# Kernel
TARGET_KERNEL_CONFIG := eucalyptus_walleye_defconfig
# Board uses A/B OTA.
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
boot \
system \
vbmeta \
dtbo \
vendor \
product