xref: /aosp_15_r20/build/make/target/board/gsi_arm64/BoardConfig.mk (revision 9e94795a3d4ef5c1d47486f9a02bb378756cea8a)
1*9e94795aSAndroid Build Coastguard Worker# Copyright (C) 2019 The Android Open Source Project
2*9e94795aSAndroid Build Coastguard Worker#
3*9e94795aSAndroid Build Coastguard Worker# Licensed under the Apache License, Version 2.0 (the "License");
4*9e94795aSAndroid Build Coastguard Worker# you may not use this file except in compliance with the License.
5*9e94795aSAndroid Build Coastguard Worker# You may obtain a copy of the License at
6*9e94795aSAndroid Build Coastguard Worker#
7*9e94795aSAndroid Build Coastguard Worker#      http://www.apache.org/licenses/LICENSE-2.0
8*9e94795aSAndroid Build Coastguard Worker#
9*9e94795aSAndroid Build Coastguard Worker# Unless required by applicable law or agreed to in writing, software
10*9e94795aSAndroid Build Coastguard Worker# distributed under the License is distributed on an "AS IS" BASIS,
11*9e94795aSAndroid Build Coastguard Worker# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*9e94795aSAndroid Build Coastguard Worker# See the License for the specific language governing permissions and
13*9e94795aSAndroid Build Coastguard Worker# limitations under the License.
14*9e94795aSAndroid Build Coastguard Worker#
15*9e94795aSAndroid Build Coastguard Worker
16*9e94795aSAndroid Build Coastguard Workerinclude build/make/target/board/BoardConfigGsiCommon.mk
17*9e94795aSAndroid Build Coastguard Worker
18*9e94795aSAndroid Build Coastguard WorkerTARGET_ARCH := arm64
19*9e94795aSAndroid Build Coastguard WorkerTARGET_ARCH_VARIANT := armv8-a
20*9e94795aSAndroid Build Coastguard WorkerTARGET_CPU_ABI := arm64-v8a
21*9e94795aSAndroid Build Coastguard WorkerTARGET_CPU_ABI2 :=
22*9e94795aSAndroid Build Coastguard WorkerTARGET_CPU_VARIANT := generic
23*9e94795aSAndroid Build Coastguard Worker
24*9e94795aSAndroid Build Coastguard WorkerTARGET_2ND_ARCH := arm
25*9e94795aSAndroid Build Coastguard WorkerTARGET_2ND_ARCH_VARIANT := armv8-a
26*9e94795aSAndroid Build Coastguard WorkerTARGET_2ND_CPU_ABI := armeabi-v7a
27*9e94795aSAndroid Build Coastguard WorkerTARGET_2ND_CPU_ABI2 := armeabi
28*9e94795aSAndroid Build Coastguard WorkerTARGET_2ND_CPU_VARIANT := generic
29*9e94795aSAndroid Build Coastguard Worker
30*9e94795aSAndroid Build Coastguard Worker# Include 64-bit mediaserver to support 64-bit only devices
31*9e94795aSAndroid Build Coastguard WorkerTARGET_DYNAMIC_64_32_MEDIASERVER := true
32*9e94795aSAndroid Build Coastguard Worker# Include 64-bit drmserver to support 64-bit only devices
33*9e94795aSAndroid Build Coastguard WorkerTARGET_DYNAMIC_64_32_DRMSERVER := true
34*9e94795aSAndroid Build Coastguard Worker
35*9e94795aSAndroid Build Coastguard Worker# TODO(b/111434759, b/111287060) SoC specific hacks
36*9e94795aSAndroid Build Coastguard WorkerBOARD_ROOT_EXTRA_SYMLINKS += /vendor/lib/dsp:/dsp
37*9e94795aSAndroid Build Coastguard WorkerBOARD_ROOT_EXTRA_SYMLINKS += /mnt/vendor/persist:/persist
38*9e94795aSAndroid Build Coastguard WorkerBOARD_ROOT_EXTRA_SYMLINKS += /vendor/firmware_mnt:/firmware
39*9e94795aSAndroid Build Coastguard Worker
40*9e94795aSAndroid Build Coastguard Worker# TODO(b/36764215): remove this setting when the generic system image
41*9e94795aSAndroid Build Coastguard Worker# no longer has QCOM-specific directories under /.
42*9e94795aSAndroid Build Coastguard WorkerBOARD_SEPOLICY_DIRS += build/make/target/board/generic_arm64/sepolicy
43