Steve Muckle | 1e1514a | 2020-04-13 17:30:57 -0700 | [diff] [blame] | 1 | # Copyright (C) 2020 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 emulator specific definitions |
| 17 | TARGET_ARCH := arm64 |
| 18 | TARGET_ARCH_VARIANT := armv8-a |
| 19 | TARGET_CPU_VARIANT := generic |
| 20 | TARGET_CPU_ABI := arm64-v8a |
| 21 | |
Dan Shi | 82c4cb7 | 2020-10-05 10:17:21 -0700 | [diff] [blame] | 22 | ifneq ($(TARGET_BUILD_APPS)$(filter cts sdk,$(MAKECMDGOALS)),) |
Steve Muckle | 1e1514a | 2020-04-13 17:30:57 -0700 | [diff] [blame] | 23 | # DO NOT USE |
| 24 | # DO NOT USE |
| 25 | # |
| 26 | # This architecture / CPU variant must NOT be used for any 64 bit |
| 27 | # platform builds. It is the lowest common denominator required |
| 28 | # to build an unbundled application or cts for all supported 32 and 64 bit |
| 29 | # platforms. |
| 30 | # |
| 31 | # If you're building a 64 bit platform (and not an application) the |
| 32 | # ARM-v8 specification allows you to assume all the features available in an |
| 33 | # armv7-a-neon CPU. You should set the following as 2nd arch/cpu variant: |
| 34 | # |
| 35 | # TARGET_2ND_ARCH_VARIANT := armv8-a |
| 36 | # TARGET_2ND_CPU_VARIANT := generic |
| 37 | # |
| 38 | # DO NOT USE |
| 39 | # DO NOT USE |
| 40 | TARGET_2ND_ARCH_VARIANT := armv7-a-neon |
| 41 | # DO NOT USE |
| 42 | # DO NOT USE |
| 43 | TARGET_2ND_CPU_VARIANT := generic |
| 44 | # DO NOT USE |
| 45 | # DO NOT USE |
| 46 | else |
| 47 | TARGET_2ND_ARCH_VARIANT := armv8-a |
| 48 | TARGET_2ND_CPU_VARIANT := generic |
| 49 | endif |
| 50 | |
| 51 | include build/make/target/board/BoardConfigGsiCommon.mk |
| 52 | include build/make/target/board/BoardConfigEmuCommon.mk |
| 53 | |
| 54 | TARGET_NO_KERNEL := false |
Steve Muckle | 1e1514a | 2020-04-13 17:30:57 -0700 | [diff] [blame] | 55 | BOARD_USES_RECOVERY_AS_BOOT := true |
| 56 | |
| 57 | BOARD_BOOTIMAGE_PARTITION_SIZE := 0x02000000 |
| 58 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 |
| 59 | |
Steve Muckle | 1e1514a | 2020-04-13 17:30:57 -0700 | [diff] [blame] | 60 | # Wifi. |
| 61 | BOARD_WLAN_DEVICE := emulator |
| 62 | BOARD_HOSTAPD_DRIVER := NL80211 |
| 63 | BOARD_WPA_SUPPLICANT_DRIVER := NL80211 |
| 64 | BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_simulated |
| 65 | BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_simulated |
| 66 | WPA_SUPPLICANT_VERSION := VER_0_8_X |
| 67 | WIFI_DRIVER_FW_PATH_PARAM := "/dev/null" |
| 68 | WIFI_DRIVER_FW_PATH_STA := "/dev/null" |
| 69 | WIFI_DRIVER_FW_PATH_AP := "/dev/null" |