blob: b7cf185d54d7cbfd834224fe8c5da26744569452 [file] [log] [blame]
micky38718f07ac2019-06-10 00:40:50 +02001# 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#
micky38718f07ac2019-06-10 00:40:50 +020021
micky387733b7712020-08-11 04:10:19 +020022# Inherit from asus sm8250-common
23-include device/asus/sm8250-common/BoardConfigCommon.mk
micky38718f07ac2019-06-10 00:40:50 +020024
micky3876e308742020-09-20 02:54:09 +020025DEVICE_PATH := device/asus/zenfone7
Marko Manef8d7e42018-08-26 23:20:31 +020026
micky38718f07ac2019-06-10 00:40:50 +020027# Bluetooth
micky38718f07ac2019-06-10 00:40:50 +020028BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := $(DEVICE_PATH)/bluetooth
micky387363ebe72020-05-03 18:17:39 +020029
micky3876e308742020-09-20 02:54:09 +020030# Extra Folders
31BOARD_ROOT_EXTRA_FOLDERS += motor_fw1 motor_fw2
32
micky3878cd3ab62021-04-30 15:21:57 +020033#HIDL
micky387b9e88d92022-10-27 12:12:50 +020034DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/manifest/vendor_framework_compatibility_matrix.xml
35DEVICE_FRAMEWORK_MANIFEST_FILE += $(DEVICE_PATH)/manifest/framework_manifest.xml
36DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest/manifest.xml
37DEVICE_MATRIX_FILE += $(DEVICE_PATH)/manifest/compatibility_matrix.xml
micky3878cd3ab62021-04-30 15:21:57 +020038
micky387679a11f2019-06-11 02:18:20 +020039# Kernel
micky38726d85762021-07-26 16:19:34 +020040TARGET_KERNEL_SOURCE := kernel/asus/sm8250
micky3876e308742020-09-20 02:54:09 +020041TARGET_KERNEL_CONFIG := vendor/zf7_defconfig
micky3870f68c2b2019-09-11 14:28:27 +020042
micky387733b7712020-08-11 04:10:19 +020043# Properties
44TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
micky387b9e88d92022-10-27 12:12:50 +020045TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
46
47# Security patch level
48VENDOR_SECURITY_PATCH := 2022-07-05
micky387e5ae8c72019-08-07 20:01:48 +020049
micky3876e308742020-09-20 02:54:09 +020050# Sepolicy
micky387b9e88d92022-10-27 12:12:50 +020051BOARD_VENDOR_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy/vendor
micky3876e308742020-09-20 02:54:09 +020052
micky387733b7712020-08-11 04:10:19 +020053# inherit from the proprietary version
micky3876e308742020-09-20 02:54:09 +020054-include vendor/asus/zenfone7/BoardConfigVendor.mk