1# 2# Copyright (C) 2011 The Android Open-Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17PRODUCT_COPY_FILES += $(TARGET_PREBUILT_KERNEL):kernel \ 18 $(TARGET_PREBUILT_DTB):hi6220-hikey.dtb \ 19 $(LOCAL_PATH)/$(TARGET_FSTAB):$(TARGET_COPY_OUT_VENDOR)/etc/fstab.hikey \ 20 device/linaro/hikey/fstab.ramdisk:$(TARGET_COPY_OUT_RAMDISK)/fstab.hikey \ 21 device/linaro/hikey/hikey/init.hikey.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.hikey.rc \ 22 device/linaro/hikey/init.hikey.power.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.hikey.power.rc \ 23 device/linaro/hikey/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.hikey.usb.rc \ 24 device/linaro/hikey/ueventd.common.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \ 25 device/linaro/hikey/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/hikey.kl 26 27# Copy BT firmware 28PRODUCT_COPY_FILES += \ 29 device/linaro/hikey/bt-wifi-firmware-util/TIInit_11.8.32.bts:$(TARGET_COPY_OUT_VENDOR)/firmware/ti-connectivity/TIInit_11.8.32.bts 30 31# Copy wlan firmware 32PRODUCT_COPY_FILES += \ 33 device/linaro/hikey/bt-wifi-firmware-util/wl18xx-fw-4.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/ti-connectivity/wl18xx-fw-4.bin \ 34 device/linaro/hikey/bt-wifi-firmware-util/wl18xx-conf.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/ti-connectivity/wl18xx-conf.bin 35 36# Build HiKey HDMI audio HAL 37PRODUCT_PACKAGES += audio.primary.hikey 38 39# Include USB speed switch App 40PRODUCT_PACKAGES += UsbSpeedSwitch 41 42# Build libion 43PRODUCT_PACKAGES += libion 44 45# Build gralloc for hikey 46PRODUCT_PACKAGES += gralloc.hikey 47 48# PowerHAL 49PRODUCT_PACKAGES += power.hikey 50 51# Sensors HAL 52PRODUCT_PACKAGES += sensors.hikey 53 54ifeq ($(HIKEY_USE_DRM_HWCOMPOSER), true) 55 PRODUCT_PACKAGES += hwcomposer.drm_hikey 56endif 57 58# Include mali blobs from ARM 59PRODUCT_PACKAGES += libGLES_mali.so END_USER_LICENCE_AGREEMENT.txt 60 61ifneq ($(TARGET_NO_RECOVERY),true) 62PRODUCT_COPY_FILES += \ 63 device/linaro/hikey/init.recovery.common.rc:recovery/root/init.recovery.hikey.rc 64endif 65