github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/make/target/board/generic_arm64_ab/BoardConfig.mk (about)

     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  
    17  include build/make/target/board/treble_common_64.mk
    18  
    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
    26  TARGET_2ND_ARCH_VARIANT := armv8-a
    27  TARGET_2ND_CPU_ABI := armeabi-v7a
    28  TARGET_2ND_CPU_ABI2 := armeabi
    29  TARGET_2ND_CPU_VARIANT := generic
    30  
    31  # Enable A/B update
    32  TARGET_NO_RECOVERY := true
    33  BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
    34  
    35  # TODO(jiyong) These might be SoC specific.
    36  BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist
    37  BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp
    38  
    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  
    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