hikey960/hikey: Re-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
Previously this patch was reverted, as there would be build
errors when the vendor pacakge was missing.
This patch re-applies the earlier change, with some additional
fixes to ensure we don't see build trouble when the package is
missing.
Signed-off-by: John Stultz <john.stultz@linaro.org>
Change-Id: I53ec5516d91391c0d3f18c801e730eff150076af
diff --git a/vendor-package-ver.mk b/vendor-package-ver.mk
new file mode 100644
index 0000000..be369eb
--- /dev/null
+++ b/vendor-package-ver.mk
@@ -0,0 +1,4 @@
+HELPER_SCRIPT=./device/linaro/hikey/vendor-package-ver.sh
+EXPECTED_LINARO_VENDOR_VERSION := $(shell $(HELPER_SCRIPT) ver)
+VND_PKG_URL := $(shell $(HELPER_SCRIPT) url)
+LINARO_VENDOR_PATH := vendor/linaro/