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# x86_64 (64-bit only) page size agnostic target for Cuttlefish 19# 20 21TARGET_BOARD_PLATFORM := vsoc_x86_64 22TARGET_ARCH := x86_64 23TARGET_ARCH_VARIANT := silvermont 24TARGET_CPU_ABI := x86_64 25 26TARGET_NATIVE_BRIDGE_ARCH := arm64 27TARGET_NATIVE_BRIDGE_ARCH_VARIANT := armv8-a 28TARGET_NATIVE_BRIDGE_CPU_VARIANT := generic 29TARGET_NATIVE_BRIDGE_ABI := arm64-v8a 30 31# Use 6.6 kernel 32TARGET_KERNEL_USE ?= 6.6 33TARGET_KERNEL_ARCH ?= x86_64 34SYSTEM_DLKM_SRC ?= kernel/prebuilts/$(TARGET_KERNEL_USE)/$(TARGET_KERNEL_ARCH) 35TARGET_KERNEL_PATH ?= $(SYSTEM_DLKM_SRC)/kernel-$(TARGET_KERNEL_USE) 36KERNEL_MODULES_PATH ?= \ 37 kernel/prebuilts/common-modules/virtual-device/$(TARGET_KERNEL_USE)/$(subst _,-,$(TARGET_KERNEL_ARCH)) 38 39# Emulate 16KB page size 40BOARD_KERNEL_CMDLINE += androidboot.page_shift=14 41 42TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4 43TARGET_RO_FILE_SYSTEM_TYPE := ext4 44 45AUDIOSERVER_MULTILIB := first 46 47-include device/google/cuttlefish/shared/BoardConfig.mk 48-include device/google/cuttlefish/shared/bluetooth/BoardConfig.mk 49-include device/google/cuttlefish/shared/camera/BoardConfig.mk 50-include device/google/cuttlefish/shared/gnss/BoardConfig.mk 51-include device/google/cuttlefish/shared/graphics/BoardConfig.mk 52-include device/google/cuttlefish/shared/identity/BoardConfig.mk 53-include device/google/cuttlefish/shared/reboot_escrow/BoardConfig.mk 54-include device/google/cuttlefish/shared/sensors/BoardConfig.mk 55-include device/google/cuttlefish/shared/swiftshader/BoardConfig.mk 56-include device/google/cuttlefish/shared/telephony/BoardConfig.mk 57-include device/google/cuttlefish/shared/vibrator/BoardConfig.mk 58 59ifneq ($(BOARD_IS_AUTOMOTIVE), true) 60-include device/google/cuttlefish/shared/virgl/BoardConfig.mk 61endif 62