Merge "Add a mainline arm64 device"
This commit is contained in:
@@ -3,10 +3,6 @@
|
|||||||
# Common compile-time definitions for emulator
|
# Common compile-time definitions for emulator
|
||||||
#
|
#
|
||||||
|
|
||||||
# The generic product target doesn't have any hardware-specific pieces.
|
|
||||||
TARGET_NO_BOOTLOADER := true
|
|
||||||
TARGET_NO_KERNEL := true
|
|
||||||
|
|
||||||
HAVE_HTC_AUDIO_DRIVER := true
|
HAVE_HTC_AUDIO_DRIVER := true
|
||||||
BOARD_USES_GENERIC_AUDIO := true
|
BOARD_USES_GENERIC_AUDIO := true
|
||||||
TARGET_BOOTLOADER_BOARD_NAME := goldfish_$(TARGET_ARCH)
|
TARGET_BOOTLOADER_BOARD_NAME := goldfish_$(TARGET_ARCH)
|
||||||
|
@@ -3,6 +3,10 @@
|
|||||||
# Common compile-time definitions for GSI
|
# Common compile-time definitions for GSI
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# The generic product target doesn't have any hardware-specific pieces.
|
||||||
|
TARGET_NO_BOOTLOADER := true
|
||||||
|
TARGET_NO_KERNEL := true
|
||||||
|
|
||||||
# GSIs always use ext4.
|
# GSIs always use ext4.
|
||||||
TARGET_USERIMAGES_USE_EXT4 := true
|
TARGET_USERIMAGES_USE_EXT4 := true
|
||||||
# GSIs are historically released in sparse format.
|
# GSIs are historically released in sparse format.
|
||||||
|
27
target/board/mainline_arm64/BoardConfig.mk
Normal file
27
target/board/mainline_arm64/BoardConfig.mk
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# Copyright (C) 2018 The Android Open Source Project
|
||||||
|
#
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
|
TARGET_ARCH := arm64
|
||||||
|
TARGET_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_CPU_VARIANT := generic
|
||||||
|
TARGET_CPU_ABI := arm64-v8a
|
||||||
|
|
||||||
|
TARGET_2ND_ARCH := arm
|
||||||
|
TARGET_2ND_ARCH_VARIANT := armv8-a
|
||||||
|
TARGET_2ND_CPU_ABI := armeabi-v7a
|
||||||
|
TARGET_2ND_CPU_ABI2 := armeabi
|
||||||
|
TARGET_2ND_CPU_VARIANT := generic
|
||||||
|
|
||||||
|
include build/make/target/board/BoardConfigGsiCommon.mk
|
@@ -18,6 +18,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
|
||||||
|
|
||||||
PRODUCT_NAME := mainline_system_arm64
|
PRODUCT_NAME := mainline_system_arm64
|
||||||
PRODUCT_DEVICE := generic_arm64
|
PRODUCT_DEVICE := mainline_arm64
|
||||||
PRODUCT_BRAND := generic
|
PRODUCT_BRAND := generic
|
||||||
PRODUCT_SHIPPING_API_LEVEL := 28
|
PRODUCT_SHIPPING_API_LEVEL := 28
|
||||||
|
Reference in New Issue
Block a user