Jiyong Park | 38f8aac | 2017-03-07 10:36:13 +0900 | [diff] [blame] | 1 | # |
| 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 Lin | 8075569 | 2017-07-28 11:35:40 +0800 | [diff] [blame] | 17 | include build/make/target/board/treble_common_64.mk |
Jiyong Park | 38f8aac | 2017-03-07 10:36:13 +0900 | [diff] [blame] | 18 | |
Jiyong Park | 38f8aac | 2017-03-07 10:36:13 +0900 | [diff] [blame] | 19 | TARGET_ARCH := arm64 |
| 20 | TARGET_ARCH_VARIANT := armv8-a |
| 21 | TARGET_CPU_ABI := arm64-v8a |
| 22 | TARGET_CPU_ABI2 := |
| 23 | TARGET_CPU_VARIANT := generic |
| 24 | |
| 25 | TARGET_2ND_ARCH := arm |
SzuWei Lin | 43672c0 | 2017-08-24 12:03:13 +0800 | [diff] [blame] | 26 | TARGET_2ND_ARCH_VARIANT := armv8-a |
Jiyong Park | 38f8aac | 2017-03-07 10:36:13 +0900 | [diff] [blame] | 27 | TARGET_2ND_CPU_ABI := armeabi-v7a |
| 28 | TARGET_2ND_CPU_ABI2 := armeabi |
SzuWei Lin | 43672c0 | 2017-08-24 12:03:13 +0800 | [diff] [blame] | 29 | TARGET_2ND_CPU_VARIANT := generic |
Jiyong Park | 38f8aac | 2017-03-07 10:36:13 +0900 | [diff] [blame] | 30 | |
Jiyong Park | 38f8aac | 2017-03-07 10:36:13 +0900 | [diff] [blame] | 31 | # Enable A/B update |
| 32 | TARGET_NO_RECOVERY := true |
Jiyong Park | 38f8aac | 2017-03-07 10:36:13 +0900 | [diff] [blame] | 33 | BOARD_BUILD_SYSTEM_ROOT_IMAGE := true |
| 34 | |
Jiyong Park | 0624105 | 2017-03-10 21:29:47 +0900 | [diff] [blame] | 35 | # TODO(jiyong) These might be SoC specific. |
SzuWei Lin | 292b843 | 2017-09-05 11:12:29 +0800 | [diff] [blame] | 36 | BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist |
Jiyong Park | 0624105 | 2017-03-10 21:29:47 +0900 | [diff] [blame] | 37 | BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp |
| 38 | |
Bowgo Tsai | 631900e | 2018-05-09 21:57:49 +0800 | [diff] [blame] | 39 | # Set this to create /cache mount point for non-A/B devices that mounts /cache. |
| 40 | # The partition size doesn't matter, just to make build pass. |
| 41 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 42 | BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216 |
| 43 | |
Jiyong Park | 6fdf938 | 2017-03-27 20:58:30 +0900 | [diff] [blame] | 44 | # TODO(b/36764215): remove this setting when the generic system image |
| 45 | # no longer has QCOM-specific directories under /. |
| 46 | BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy |
Steven Moreland | fdce598 | 2017-09-05 14:19:38 -0700 | [diff] [blame] | 47 | |
| 48 | BOARD_VNDK_VERSION := current |