github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/make/target/board/generic_arm_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_32.mk
    18  
    19  # Overwrite the setting in treble_common_32.mk for non-A/B arm GSI
    20  BOARD_SYSTEMIMAGE_PARTITION_SIZE := 943718400 # 900MB
    21  
    22  TARGET_ARCH := arm
    23  TARGET_ARCH_VARIANT := armv7-a-neon
    24  TARGET_CPU_ABI := armeabi-v7a
    25  TARGET_CPU_ABI2 := armeabi
    26  TARGET_CPU_VARIANT := generic
    27  
    28  # Enable A/B update
    29  TARGET_NO_RECOVERY := true
    30  BOARD_BUILD_SYSTEM_ROOT_IMAGE := true
    31  
    32  # TODO(jiyong) These might be SoC specific.
    33  BOARD_ROOT_EXTRA_FOLDERS += firmware firmware/radio persist
    34  BOARD_ROOT_EXTRA_SYMLINKS := /vendor/lib/dsp:/dsp
    35  
    36  # Set this to create /cache mount point for non-A/B devices that mounts /cache.
    37  # The partition size doesn't matter, just to make build pass.
    38  BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
    39  BOARD_CACHEIMAGE_PARTITION_SIZE := 16777216
    40  
    41  # TODO(b/36764215): remove this setting when the generic system image
    42  # no longer has QCOM-specific directories under /.
    43  BOARD_SEPOLICY_DIRS += build/target/board/generic_arm64_ab/sepolicy