summaryrefslogtreecommitdiff
path: root/vendor-package-ver.sh
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2022-02-02 04:37:53 +0000
committerJohn Stultz <john.stultz@linaro.org>2022-02-15 03:20:58 +0000
commitaf6e3c040223f3dfa5ac3e8b684b16a37d9a078c (patch)
tree9fcd985667c812af50791c7d6dfbe6813d5d245d /vendor-package-ver.sh
parentde8954df2e8a82fb0465583d4692ab1db26adde6 (diff)
downloadhikey-af6e3c040223f3dfa5ac3e8b684b16a37d9a078c.tar.gz
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
Diffstat (limited to 'vendor-package-ver.sh')
-rwxr-xr-xvendor-package-ver.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor-package-ver.sh b/vendor-package-ver.sh
new file mode 100755
index 00000000..12f4a6f0
--- /dev/null
+++ b/vendor-package-ver.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+export EXPECTED_LINARO_VENDOR_VERSION=20220210
+export EXPECTED_LINARO_VENDOR_SHA=75efc8471f299f64716140712c0785b8e8aeaf5aa7e389a6f12f78ad4962420740da32f4535d795006e78c5f0b77a1cee8c168192a87f668103c00d87d480e6d
+export VND_PKG_URL=https://releases.linaro.org/android/aosp-linaro-vendor-package/extract-linaro_devices-20220210.tgz
+
+if [ "$1" = "url" ]; then
+ echo $VND_PKG_URL
+elif [ "$1" = "ver" ]; then
+ echo $EXPECTED_LINARO_VENDOR_VERSION
+elif [ "$1" = "sha" ]; then
+ echo $EXPECTED_LINARO_VENDOR_SHA
+fi