micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 1 | # Copyright (C) 2010 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 | # This file is the build configuration for a full Android |
| 17 | # build for grouper hardware. This cleanly combines a set of |
| 18 | # device-specific aspects (drivers) with a device-agnostic |
| 19 | # product configuration (apps). |
| 20 | # |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 21 | |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame] | 22 | # Inherit from asus sm8250-common |
| 23 | -include device/asus/sm8250-common/BoardConfigCommon.mk |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 24 | |
micky387 | 6e30874 | 2020-09-20 02:54:09 +0200 | [diff] [blame] | 25 | DEVICE_PATH := device/asus/zenfone7 |
Marko Man | ef8d7e4 | 2018-08-26 23:20:31 +0200 | [diff] [blame] | 26 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 27 | # Bluetooth |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 28 | BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth |
micky387 | 363ebe7 | 2020-05-03 18:17:39 +0200 | [diff] [blame] | 29 | |
micky387 | 6e30874 | 2020-09-20 02:54:09 +0200 | [diff] [blame] | 30 | # Extra Folders |
| 31 | BOARD_ROOT_EXTRA_FOLDERS += motor_fw1 motor_fw2 |
| 32 | |
micky387 | 8cd3ab6 | 2021-04-30 15:21:57 +0200 | [diff] [blame] | 33 | #HIDL |
micky387 | b9e88d9 | 2022-10-27 12:12:50 +0200 | [diff] [blame^] | 34 | DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/manifest/vendor_framework_compatibility_matrix.xml |
| 35 | DEVICE_FRAMEWORK_MANIFEST_FILE += $(DEVICE_PATH)/manifest/framework_manifest.xml |
| 36 | DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest/manifest.xml |
| 37 | DEVICE_MATRIX_FILE += $(DEVICE_PATH)/manifest/compatibility_matrix.xml |
micky387 | 8cd3ab6 | 2021-04-30 15:21:57 +0200 | [diff] [blame] | 38 | |
micky387 | 679a11f | 2019-06-11 02:18:20 +0200 | [diff] [blame] | 39 | # Kernel |
micky387 | 26d8576 | 2021-07-26 16:19:34 +0200 | [diff] [blame] | 40 | TARGET_KERNEL_SOURCE := kernel/asus/sm8250 |
micky387 | 6e30874 | 2020-09-20 02:54:09 +0200 | [diff] [blame] | 41 | TARGET_KERNEL_CONFIG := vendor/zf7_defconfig |
micky387 | 0f68c2b | 2019-09-11 14:28:27 +0200 | [diff] [blame] | 42 | |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame] | 43 | # Properties |
| 44 | TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop |
micky387 | b9e88d9 | 2022-10-27 12:12:50 +0200 | [diff] [blame^] | 45 | TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop |
| 46 | |
| 47 | # Security patch level |
| 48 | VENDOR_SECURITY_PATCH := 2022-07-05 |
micky387 | e5ae8c7 | 2019-08-07 20:01:48 +0200 | [diff] [blame] | 49 | |
micky387 | 6e30874 | 2020-09-20 02:54:09 +0200 | [diff] [blame] | 50 | # Sepolicy |
micky387 | b9e88d9 | 2022-10-27 12:12:50 +0200 | [diff] [blame^] | 51 | BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor |
micky387 | 6e30874 | 2020-09-20 02:54:09 +0200 | [diff] [blame] | 52 | |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame] | 53 | # inherit from the proprietary version |
micky387 | 6e30874 | 2020-09-20 02:54:09 +0200 | [diff] [blame] | 54 | -include vendor/asus/zenfone7/BoardConfigVendor.mk |