1# 2# Copyright 2023 The Android Open-Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17# 18# arm64 (64-bit only) page size agnostic target for Cuttlefish 19# 20 21TARGET_BOARD_PLATFORM := vsoc_arm64 22TARGET_ARCH := arm64 23TARGET_ARCH_VARIANT := armv8-a 24TARGET_CPU_ABI := arm64-v8a 25TARGET_CPU_VARIANT := cortex-a53 26 27# Use 16K page size kernel 28TARGET_KERNEL_USE ?= 6.6 29TARGET_KERNEL_ARCH ?= arm64 30SYSTEM_DLKM_SRC ?= kernel/prebuilts/$(TARGET_KERNEL_USE)/$(TARGET_KERNEL_ARCH)/16k 31TARGET_KERNEL_PATH ?= $(SYSTEM_DLKM_SRC)/kernel-$(TARGET_KERNEL_USE) 32KERNEL_MODULES_PATH ?= \ 33 kernel/prebuilts/common-modules/virtual-device/$(TARGET_KERNEL_USE)/$(subst _,-,$(TARGET_KERNEL_ARCH))/16k 34 35TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4 36TARGET_RO_FILE_SYSTEM_TYPE := ext4 37 38BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 39 40AUDIOSERVER_MULTILIB := first 41 42HOST_CROSS_OS := linux_musl 43HOST_CROSS_ARCH := arm64 44HOST_CROSS_2ND_ARCH := 45 46-include device/google/cuttlefish/shared/BoardConfig.mk 47-include device/google/cuttlefish/shared/bluetooth/BoardConfig.mk 48-include device/google/cuttlefish/shared/camera/BoardConfig.mk 49-include device/google/cuttlefish/shared/graphics/BoardConfig.mk 50-include device/google/cuttlefish/shared/identity/BoardConfig.mk 51-include device/google/cuttlefish/shared/sensors/BoardConfig.mk 52-include device/google/cuttlefish/shared/swiftshader/BoardConfig.mk 53-include device/google/cuttlefish/shared/telephony/BoardConfig.mk 54-include device/google/cuttlefish/shared/virgl/BoardConfig.mk 55 56BOARD_16K_OTA_MOVE_VENDOR := true 57 58BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := erofs 59BOARD_SYSTEMIMAGE_EROFS_BLOCKSIZE := 16384 60BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := erofs 61 62BOARD_F2FS_BLOCKSIZE := 16384 63$(call soong_config_append,cvdhost,board_f2fs_blocksize,16384) 64