blob: 33be0f1321e156f1408975d8d8a3e0b012c2c936 [file] [log] [blame]
Amit Pundiraf628c22016-11-02 16:37:00 +08001#
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
Dmitry Shmidtb4e1ed02017-02-13 14:39:37 -080017PRODUCT_COPY_FILES += $(TARGET_PREBUILT_KERNEL):kernel \
18 $(TARGET_PREBUILT_DTB):hi6220-hikey.dtb \
John Stultz531fb4c2018-06-20 16:42:53 -070019 $(LOCAL_PATH)/$(TARGET_FSTAB):$(TARGET_COPY_OUT_VENDOR)/etc/fstab.hikey \
John Stultz3424dc32018-04-11 15:37:34 -070020 device/linaro/hikey/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.hikey.rc \
21 device/linaro/hikey/init.hikey.power.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.hikey.power.rc \
22 device/linaro/hikey/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.hikey.usb.rc \
23 device/linaro/hikey/ueventd.common.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
24 device/linaro/hikey/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/hikey.kl
Amit Pundiraf628c22016-11-02 16:37:00 +080025
Dmitry Shmidt168e6d62018-04-04 17:00:32 -070026# Copy BT firmware
27PRODUCT_COPY_FILES += \
vishal46787b62018-04-10 19:56:30 +053028 device/linaro/hikey/bt-wifi-firmware-util/TIInit_11.8.32.bts:$(TARGET_COPY_OUT_VENDOR)/firmware/ti-connectivity/TIInit_11.8.32.bts
Dmitry Shmidt168e6d62018-04-04 17:00:32 -070029
30# Copy wlan firmware
31PRODUCT_COPY_FILES += \
vishal46787b62018-04-10 19:56:30 +053032 device/linaro/hikey/bt-wifi-firmware-util/wl18xx-fw-4.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/ti-connectivity/wl18xx-fw-4.bin \
33 device/linaro/hikey/bt-wifi-firmware-util/wl18xx-conf.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/ti-connectivity/wl18xx-conf.bin
Dmitry Shmidt168e6d62018-04-04 17:00:32 -070034
Amit Pundiraf628c22016-11-02 16:37:00 +080035# Build HiKey HDMI audio HAL
36PRODUCT_PACKAGES += audio.primary.hikey
37
38# Include USB speed switch App
39PRODUCT_PACKAGES += UsbSpeedSwitch
40
41# Build libion
42PRODUCT_PACKAGES += libion
43
44# Build gralloc for hikey
45PRODUCT_PACKAGES += gralloc.hikey
46
47# PowerHAL
48PRODUCT_PACKAGES += power.hikey
49
Dmitry Shmidtee5f1b52018-01-19 09:28:08 -080050# Sensors HAL
51PRODUCT_PACKAGES += sensors.hikey
52
John Stultz787c58d2018-03-29 20:53:56 -070053# Include mali blobs from ARM
54PRODUCT_PACKAGES += libGLES_mali.so END_USER_LICENCE_AGREEMENT.txt
Alistair Strachan10c509c2018-11-20 18:09:27 -080055
56ifneq ($(TARGET_NO_RECOVERY),true)
57PRODUCT_COPY_FILES += \
58 device/linaro/hikey/init.recovery.common.rc:recovery/root/init.recovery.hikey.rc
59endif