android_device_sony_kugo/BoardConfig.mk

56 lines
1.6 KiB
Makefile
Raw Normal View History

2019-11-11 20:52:56 +01:00
#
# Copyright (C) 2019 The LineageOS 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.
#
# inherit from the loire-common
include device/sony/loire-common/BoardConfigCommon.mk
DEVICE_PATH := device/sony/kugo
# Assert
TARGET_OTA_ASSERT_DEVICE := kugo
# TODO
# HIDL
#DEVICE_MANIFEST_FILE += $(DEVICE_PATH)/manifest.xml
# Include path
TARGET_SPECIFIC_HEADER_PATH += $(DEVICE_PATH)/include
# TODO
# Kernel properties
#TARGET_KERNEL_CONFIG := lineageos_loire_kugo_defconfig
2019-11-11 21:26:12 +01:00
BOARD_KERNEL_CMDLINE += androidboot.hardware=kugo
2019-11-11 22:08:00 +01:00
TARGET_NO_KERNEL := true
2019-11-11 20:52:56 +01:00
# TODO
# Partition information
2019-11-11 21:26:12 +01:00
BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 6197084160
BOARD_ODMIMAGE_PARTITION_SIZE := 419430400
#Reserve space for data encryption (23894949888-16384)
BOARD_USERDATAIMAGE_PARTITION_SIZE := 23894933504
2019-11-11 20:52:56 +01:00
# Power
#TARGET_TAP_TO_WAKE_NODE := "/sys/devices/virtual/input/clearpad/wakeup_gesture"
# SELinux
BOARD_SEPOLICY_DIRS += $(DEVICE_PATH)/sepolicy
2019-11-11 21:47:25 +01:00
# TODO
2019-11-11 20:52:56 +01:00
# Inherit from proprietary files
2019-11-11 21:47:25 +01:00
#include vendor/sony/kugo/BoardConfigVendor.mk