aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArvin Quilao <arquilao@gmail.com>2016-12-01 03:38:18 +0000
committerKaan Kulahli <kaankulahli2@gmail.com>2017-02-02 20:45:11 +0000
commit48e056aacc4ee46ad81fe1c19357834337ce4f2f (patch)
tree7120a1fbf6883fbe25fe8b077a13077444a91afb
parent363429b1de57431c5245b4d1c69b0922d9e10da4 (diff)
seed: Use graphics blobs from the shared repo
Change-Id: Ic6d3c185c492500ad1f6737375a80b81ff8dbb00
-rwxr-xr-xextract-files.sh2
-rw-r--r--proprietary-files-qc.txt1
-rwxr-xr-xsetup-makefiles.sh3
3 files changed, 4 insertions, 2 deletions
diff --git a/extract-files.sh b/extract-files.sh
index 570898c..fbc3a26 100755
--- a/extract-files.sh
+++ b/extract-files.sh
@@ -56,3 +56,5 @@ extract "$MY_DIR"/proprietary-files-qc.txt "$SRC"
extract "$MY_DIR"/proprietary-files.txt "$SRC"
"$MY_DIR"/setup-makefiles.sh
+
+"$CM_ROOT"/device/qcom/common/extractors/extract-files.sh "$SRC" msm8916 graphics
diff --git a/proprietary-files-qc.txt b/proprietary-files-qc.txt
index ed2e31f..61e401e 100644
--- a/proprietary-files-qc.txt
+++ b/proprietary-files-qc.txt
@@ -378,7 +378,6 @@ vendor/lib/libgeofence.so|b91de149da071fddb42772bb10439077d7b0b39a
vendor/lib/libizat_core.so|bf23714f97dbe611148c592c6677ee0171d36336
vendor/lib/liblbs_core.so|3b7d32ca9ce3dec791d2dc7c25585bffb0b2d3a4
-
# Graphics firmware (seed)
vendor/lib/libscale.so
vendor/lib/egl/eglsubAndroid.so
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index 028388a..08a119b 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -57,9 +57,10 @@ echo "endif" >> "$PRODUCTMK"
cat << EOF >> "$ANDROIDMK"
endif
-\$(shell mkdir -p \$(PRODUCT_OUT)/system/vendor/lib/egl && pushd \$(PRODUCT_OUT)/system/vendor/lib > /dev/null && ln -s egl/libEGL_adreno.so libEGL_adreno.so && popd > /dev/null)
EOF
+printf '\n%s\n' "\$(call inherit-product, vendor/qcom/binaries/msm8916/graphics/graphics-vendor.mk)" >> "$PRODUCTMK"
+
# We are done!
write_footers