blob: 70680e556fcdbb111d60e3ba9cf9bc3298580ddb [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 \
Alistair Strachandadf8342019-01-16 14:10:47 -080020 device/linaro/hikey/fstab.ramdisk:$(TARGET_COPY_OUT_RAMDISK)/fstab.hikey \
Colin Crossd6260342019-03-22 13:16:17 -070021 device/linaro/hikey/hikey/init.hikey.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.hikey.rc \
John Stultz3424dc32018-04-11 15:37:34 -070022 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
Amit Pundiraf628c22016-11-02 16:37:00 +080026
Dmitry Shmidt168e6d62018-04-04 17:00:32 -070027# Copy BT firmware
28PRODUCT_COPY_FILES += \
vishal46787b62018-04-10 19:56:30 +053029 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 -070030
31# Copy wlan firmware
32PRODUCT_COPY_FILES += \
vishal46787b62018-04-10 19:56:30 +053033 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
Dmitry Shmidt168e6d62018-04-04 17:00:32 -070035
Amit Pundiraf628c22016-11-02 16:37:00 +080036# 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
Dmitry Shmidtee5f1b52018-01-19 09:28:08 -080051# Sensors HAL
52PRODUCT_PACKAGES += sensors.hikey
53
Colin Crossd6260342019-03-22 13:16:17 -070054ifeq ($(HIKEY_USE_DRM_HWCOMPOSER), true)
55 PRODUCT_PACKAGES += hwcomposer.drm_hikey
56endif
57
John Stultz787c58d2018-03-29 20:53:56 -070058# Include mali blobs from ARM
59PRODUCT_PACKAGES += libGLES_mali.so END_USER_LICENCE_AGREEMENT.txt
Alistair Strachan10c509c2018-11-20 18:09:27 -080060
61ifneq ($(TARGET_NO_RECOVERY),true)
62PRODUCT_COPY_FILES += \
63 device/linaro/hikey/init.recovery.common.rc:recovery/root/init.recovery.hikey.rc
64endif