Amit Pundir | af628c2 | 2016-11-02 16:37:00 +0800 | [diff] [blame] | 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 | |
Dmitry Shmidt | b4e1ed0 | 2017-02-13 14:39:37 -0800 | [diff] [blame] | 17 | PRODUCT_COPY_FILES += $(TARGET_PREBUILT_KERNEL):kernel \ |
| 18 | $(TARGET_PREBUILT_DTB):hi6220-hikey.dtb \ |
John Stultz | 531fb4c | 2018-06-20 16:42:53 -0700 | [diff] [blame] | 19 | $(LOCAL_PATH)/$(TARGET_FSTAB):$(TARGET_COPY_OUT_VENDOR)/etc/fstab.hikey \ |
Alistair Strachan | dadf834 | 2019-01-16 14:10:47 -0800 | [diff] [blame] | 20 | device/linaro/hikey/fstab.ramdisk:$(TARGET_COPY_OUT_RAMDISK)/fstab.hikey \ |
Colin Cross | d626034 | 2019-03-22 13:16:17 -0700 | [diff] [blame] | 21 | device/linaro/hikey/hikey/init.hikey.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.hikey.rc \ |
John Stultz | 3424dc3 | 2018-04-11 15:37:34 -0700 | [diff] [blame] | 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 |
Amit Pundir | af628c2 | 2016-11-02 16:37:00 +0800 | [diff] [blame] | 26 | |
Dmitry Shmidt | 168e6d6 | 2018-04-04 17:00:32 -0700 | [diff] [blame] | 27 | # Copy BT firmware |
| 28 | PRODUCT_COPY_FILES += \ |
vishal | 46787b6 | 2018-04-10 19:56:30 +0530 | [diff] [blame] | 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 |
Dmitry Shmidt | 168e6d6 | 2018-04-04 17:00:32 -0700 | [diff] [blame] | 30 | |
| 31 | # Copy wlan firmware |
| 32 | PRODUCT_COPY_FILES += \ |
vishal | 46787b6 | 2018-04-10 19:56:30 +0530 | [diff] [blame] | 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 |
Dmitry Shmidt | 168e6d6 | 2018-04-04 17:00:32 -0700 | [diff] [blame] | 35 | |
Amit Pundir | af628c2 | 2016-11-02 16:37:00 +0800 | [diff] [blame] | 36 | # Build HiKey HDMI audio HAL |
| 37 | PRODUCT_PACKAGES += audio.primary.hikey |
| 38 | |
| 39 | # Include USB speed switch App |
| 40 | PRODUCT_PACKAGES += UsbSpeedSwitch |
| 41 | |
| 42 | # Build libion |
| 43 | PRODUCT_PACKAGES += libion |
| 44 | |
| 45 | # Build gralloc for hikey |
| 46 | PRODUCT_PACKAGES += gralloc.hikey |
| 47 | |
| 48 | # PowerHAL |
| 49 | PRODUCT_PACKAGES += power.hikey |
| 50 | |
Dmitry Shmidt | ee5f1b5 | 2018-01-19 09:28:08 -0800 | [diff] [blame] | 51 | # Sensors HAL |
| 52 | PRODUCT_PACKAGES += sensors.hikey |
| 53 | |
Colin Cross | d626034 | 2019-03-22 13:16:17 -0700 | [diff] [blame] | 54 | ifeq ($(HIKEY_USE_DRM_HWCOMPOSER), true) |
| 55 | PRODUCT_PACKAGES += hwcomposer.drm_hikey |
| 56 | endif |
| 57 | |
John Stultz | 787c58d | 2018-03-29 20:53:56 -0700 | [diff] [blame] | 58 | # Include mali blobs from ARM |
| 59 | PRODUCT_PACKAGES += libGLES_mali.so END_USER_LICENCE_AGREEMENT.txt |
Alistair Strachan | 10c509c | 2018-11-20 18:09:27 -0800 | [diff] [blame] | 60 | |
| 61 | ifneq ($(TARGET_NO_RECOVERY),true) |
| 62 | PRODUCT_COPY_FILES += \ |
| 63 | device/linaro/hikey/init.recovery.common.rc:recovery/root/init.recovery.hikey.rc |
| 64 | endif |