1# Copyright (C) 2019 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# arm64 specific definitions
17TARGET_ARCH := arm64
18TARGET_ARCH_VARIANT := armv8-a
19TARGET_CPU_VARIANT := generic
20TARGET_CPU_ABI := arm64-v8a
21TARGET_CPU_ABI2 :=
22
23TARGET_2ND_ARCH := arm
24TARGET_2ND_ARCH_VARIANT := armv8-a
25TARGET_2ND_CPU_VARIANT := generic
26TARGET_2ND_CPU_ABI := armeabi-v7a
27TARGET_2ND_CPU_ABI2 := armeabi
28
29include device/generic/common/mgsi/BoardConfigMgsiCommon.mk
30
31# Emulator system image is going to be used as GSI and some vendor still hasn't
32# cleaned up all device specific directories under root!
33
34# TODO(b/111434759, b/111287060) SoC specific hacks
35BOARD_ROOT_EXTRA_SYMLINKS += /vendor/lib/dsp:/dsp
36BOARD_ROOT_EXTRA_SYMLINKS += /mnt/vendor/persist:/persist
37BOARD_ROOT_EXTRA_SYMLINKS += /vendor/firmware_mnt:/firmware
38
39# TODO(b/36764215): remove this setting when the generic system image
40# no longer has QCOM-specific directories under /.
41BOARD_SEPOLICY_DIRS += build/make/target/board/generic_arm64/sepolicy
42