hikey960/hikey: Transition to using to vendor-package
Moves the bootloader objects, and mali libraries to the vendor
package and adds the support files, tweaking the flash-all.sh
script
Will use the vendor-package located here:
https://releases.linaro.org/android/aosp-linaro-vendor-package/extract-linaro_devices-20220210.tgz
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I5e22c28c6f2c9ce3a7ec42e72411192dfbb6b312
diff --git a/hikey.mk b/hikey.mk
index 7471955..c643f87 100644
--- a/hikey.mk
+++ b/hikey.mk
@@ -1,5 +1,7 @@
+include $(LOCAL_PATH)/vendor-package-ver.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, device/linaro/hikey/hikey-common.mk)
+$(call inherit-product, vendor/linaro/hikey960/$(EXPECTED_LINARO_VENDOR_VERSION)/hikey.mk)
#setup dm-verity configs
PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/platform/soc/f723d000.dwmmc0/by-name/system
@@ -54,3 +56,7 @@
endif
endif
+
+PRODUCT_SOONG_NAMESPACES += \
+ vendor/linaro/hikey960/$(EXPECTED_LINARO_VENDOR_VERSION)/mali/utgard
+