blob: 75c936ddcd8f53e7ed61739eba9791c6ebc6a519 [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.
#
include device/generic/brillo/brillo_base.mk
PRODUCT_NAME := kylin
PRODUCT_BRAND := Brillo
PRODUCT_DEVICE := kylin
PRODUCT_MANUFACTURER := Rockchip
TARGET_BOARD_PLATFORM := rk3036
TARGET_BOOTLOADER_BOARD_NAME := kylin
# Clean up this.
soc_vendor := rockchip
soc_name := rk3036
# Add audio support
$(call add_peripheral, rockchip, audio/generic)
# Add wifi controller
$(call add_peripheral, rockchip, wifi/ap6212)
PRODUCT_COPY_FILES += \
device/rockchip/kylin/init.rk3036.rc:root/init.rk3036.rc \
system/core/rootdir/init.usb.rc:root/init.usb.rc \
system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \
device/rockchip/kylin/init.usb.rk3036.rc:root/init.usb.rk3036.rc \
system/core/rootdir/ueventd.rc:root/ueventd.rc \
device/rockchip/kylin/fstab:root/fstab.${soc_name} \
device/rockchip/kylin/provision-device:provision-device
DEVICE_PACKAGES += \
lights.$(TARGET_BOARD_PLATFORM) \
bootctrl.$(TARGET_BOARD_PLATFORM)
# Default Keystore HAL
DEVICE_PACKAGES += \
keystore.default \
PRODUCT_COPY_FILES += \
device/rockchip/kylin/base_product/weaved.conf:system/etc/weaved/weaved.conf
# Must be defined at the end of the file
$(call add_device_packages)