blob: 073eccb9d6198d02f2f97672a1795a1e2b451764 [file] [log] [blame]
Jiyong Park38f8aac2017-03-07 10:36:13 +09001#
2# Copyright (C) 2017 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
SzuWei Lin1457b3f2019-01-03 12:49:55 +080017include build/make/target/board/BoardConfigGsiCommon.mk
Jiyong Park38f8aac2017-03-07 10:36:13 +090018
Jiyong Park38f8aac2017-03-07 10:36:13 +090019TARGET_ARCH := arm64
20TARGET_ARCH_VARIANT := armv8-a
21TARGET_CPU_ABI := arm64-v8a
22TARGET_CPU_ABI2 :=
23TARGET_CPU_VARIANT := generic
24
25TARGET_2ND_ARCH := arm
SzuWei Lin7cce9df2017-08-24 12:03:13 +080026TARGET_2ND_ARCH_VARIANT := armv8-a
Jiyong Park38f8aac2017-03-07 10:36:13 +090027TARGET_2ND_CPU_ABI := armeabi-v7a
28TARGET_2ND_CPU_ABI2 := armeabi
SzuWei Lin7cce9df2017-08-24 12:03:13 +080029TARGET_2ND_CPU_VARIANT := generic
Jiyong Park38f8aac2017-03-07 10:36:13 +090030
SzuWei Lin1457b3f2019-01-03 12:49:55 +080031# Enable System-as-Root
Jiyong Park38f8aac2017-03-07 10:36:13 +090032TARGET_NO_RECOVERY := true
Jiyong Park38f8aac2017-03-07 10:36:13 +090033BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
34
Jiyong Park06241052017-03-10 21:29:47 +090035# TODO(jiyong) These might be SoC specific.
SzuWei Lin292b8432017-09-05 11:12:29 +080036BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist
SzuWei Lin11892a42018-10-19 16:40:33 +080037BOARD_ROOT_EXTRA_SYMLINKS += /vendor/lib/dsp:/dsp
38BOARD_ROOT_EXTRA_SYMLINKS += /vendor/firmware_mnt/image:/firmware/image
39BOARD_ROOT_EXTRA_SYMLINKS += /vendor/firmware_mnt/verinfo:/firmware/verinfo
Jiyong Park06241052017-03-10 21:29:47 +090040
Bowgo Tsai4e9ff912018-05-09 21:57:49 +080041# Set this to create /cache mount point for non-A/B devices that mounts /cache.
42# The partition size doesn't matter, just to make build pass.
43BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
44BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
45
Jiyong Park6fdf9382017-03-27 20:58:30 +090046# TODO(b/36764215): remove this setting when the generic system image
47# no longer has QCOM-specific directories under /.
48BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy