2021-10-25 12:10:38 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2021 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.
|
|
|
|
#
|
2023-03-21 21:57:11 +01:00
|
|
|
|
2021-10-25 12:10:38 +02:00
|
|
|
TARGET_BOARD_INFO_FILE := device/google/lynx/board-info.txt
|
|
|
|
TARGET_BOOTLOADER_BOARD_NAME := lynx
|
2023-03-21 21:57:11 +01:00
|
|
|
|
2023-10-02 09:58:32 +02:00
|
|
|
RELEASE_GOOGLE_PRODUCT_RADIO_DIR := $(RELEASE_GOOGLE_LYNX_RADIO_DIR)
|
2023-10-23 15:28:29 +02:00
|
|
|
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
|
|
|
|
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q1
|
2023-12-13 09:18:10 +01:00
|
|
|
else ifneq (,$(filter AP2%,$(RELEASE_PLATFORM_VERSION)))
|
|
|
|
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2
|
2023-10-23 15:28:29 +02:00
|
|
|
else
|
|
|
|
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk
|
|
|
|
endif
|
2023-10-02 09:58:32 +02:00
|
|
|
|
2023-03-21 21:57:11 +01:00
|
|
|
ifdef PHONE_CAR_BOARD_PRODUCT
|
|
|
|
include vendor/auto/embedded/products/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
|
|
|
|
else
|
|
|
|
TARGET_SCREEN_DENSITY := 420
|
|
|
|
endif
|
|
|
|
|
2021-10-25 12:10:38 +02:00
|
|
|
BOARD_USES_GENERIC_AUDIO := true
|
|
|
|
USES_DEVICE_GOOGLE_LYNX := true
|
|
|
|
|
2022-07-12 11:45:16 +02:00
|
|
|
# Enable load module in parallel
|
|
|
|
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
|
|
|
|
|
|
|
|
# The modules which need to be loaded in sequential
|
|
|
|
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
|
|
|
|
|
2021-10-25 12:10:38 +02:00
|
|
|
include device/google/gs201/BoardConfig-common.mk
|
|
|
|
-include vendor/google_devices/gs201/prebuilts/BoardConfigVendor.mk
|
2022-07-26 02:01:57 +02:00
|
|
|
-include vendor/google_devices/lynx/proprietary/BoardConfigVendor.mk
|
2021-10-25 12:10:38 +02:00
|
|
|
include device/google/lynx-sepolicy/lynx-sepolicy.mk
|
2022-07-26 02:01:57 +02:00
|
|
|
include device/google/gs201/wifi/qcom/BoardConfig-wifi.mk
|
2023-06-22 09:42:12 +02:00
|
|
|
include device/google/lynx/BoardConfigAosp.mk
|