blob: d9c7a17dd0ce271c36d4446d65d2c3f41bf1616c [file] [log] [blame]
#
# Copyright 2015 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.
#
# Arm32 device.
TARGET_ARCH := arm
TARGET_ARCH_VARIANT := armv7-a
TARGET_CPU_VARIANT := generic
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_NO_BOOTLOADER := false
TARGET_NO_KERNEL := false
BOARD_KERNEL_CMDLINE := console=ttyS2,115200n8 androidboot.console=ttyS2 androidboot.hardware=rk3036 earlyprintk selinux=enforcing
# Set up the local kernel.
TARGET_KERNEL_ARCH := $(TARGET_ARCH)
TARGET_KERNEL_SRC := hardware/bsp/kernel/common/v4.1
TARGET_KERNEL_DEFCONFIG := rk3036_kylin_defconfig
TARGET_KERNEL_CONFIGS := $(PWD)/device/rockchip/kylin/soc/soc.kconf
TARGET_KERNEL_DTB := rk3036-kylin.dtb
TARGET_KERNEL_DTB_APPEND := true
TARGET_BOARD_INFO_FILE := device/rockchip/kylin/board-info.txt
TARGET_USERIMAGES_USE_EXT4 := true
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_FLASH_BLOCK_SIZE := 131072
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 268435456
BOARD_USERDATAIMAGE_PARTITION_SIZE := 134217728
BOARD_CACHEIMAGE_PARTITION_SIZE := 268435456
BOARD_SEPOLICY_DIRS += device/rockchip/kylin/sepolicy