| # Copyright (C) 2010 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. |
| |
| # |
| # This file is the build configuration for a full Android |
| # build for grouper hardware. This cleanly combines a set of |
| # device-specific aspects (drivers) with a device-agnostic |
| # product configuration (apps). |
| # |
| |
| # Inherit from asus sm8250-common |
| -include device/asus/sm8250-common/BoardConfigCommon.mk |
| |
| DEVICE_PATH := device/asus/zenfone7 |
| |
| # Bluetooth |
| BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth |
| |
| # Extra Folders |
| BOARD_ROOT_EXTRA_FOLDERS += motor_fw1 motor_fw2 |
| |
| #HIDL |
| DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/manifest/vendor_framework_compatibility_matrix.xml |
| DEVICE_FRAMEWORK_MANIFEST_FILE += $(DEVICE_PATH)/manifest/framework_manifest.xml |
| DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest/manifest.xml |
| DEVICE_MATRIX_FILE += $(DEVICE_PATH)/manifest/compatibility_matrix.xml |
| |
| # Kernel |
| TARGET_KERNEL_SOURCE := kernel/asus/sm8250 |
| TARGET_KERNEL_CONFIG := vendor/zf7_defconfig |
| |
| # Properties |
| TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop |
| TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop |
| |
| # Security patch level |
| VENDOR_SECURITY_PATCH := 2022-07-05 |
| |
| # Sepolicy |
| BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor |
| |
| # inherit from the proprietary version |
| -include vendor/asus/zenfone7/BoardConfigVendor.mk |