blob: 3976b8405c370709416ee76e69399fdacaf24d0f [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
34DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/vendor_framework_compatibility_matrix.xml
35
micky387679a11f2019-06-11 02:18:20 +020036# Kernel
micky38726d85762021-07-26 16:19:34 +020037TARGET_KERNEL_SOURCE := kernel/asus/sm8250
micky3876e308742020-09-20 02:54:09 +020038TARGET_KERNEL_CONFIG := vendor/zf7_defconfig
micky3870f68c2b2019-09-11 14:28:27 +020039
micky387733b7712020-08-11 04:10:19 +020040# Properties
41TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
micky387e5ae8c72019-08-07 20:01:48 +020042
micky3876e308742020-09-20 02:54:09 +020043# Sepolicy
44BOARD_PLAT_PRIVATE_SEPOLICY_DIR += $(DEVICE_PATH)/sepolicy/private
45
micky387733b7712020-08-11 04:10:19 +020046# inherit from the proprietary version
micky3876e308742020-09-20 02:54:09 +020047-include vendor/asus/zenfone7/BoardConfigVendor.mk