mesa_prebuilt/copy_bins.sh: Only copy libgallium
Do not copy other driver symlinks. mesa_prebuilt/Android.mk
will anyway take care of creating dri/msm_dri.so symlink at
AOSP build time.
Change-Id: Ifbde963760156a9335002cf6e7b490d49b2c8843
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/src/db845c/mesa_prebuilt/copy_bins.sh b/src/db845c/mesa_prebuilt/copy_bins.sh
index 38d6fe8..b0e8a88 100755
--- a/src/db845c/mesa_prebuilt/copy_bins.sh
+++ b/src/db845c/mesa_prebuilt/copy_bins.sh
@@ -14,8 +14,8 @@
cp -P $ANDROID_PRODUCT_OUT/vendor/lib64/egl/* lib64/egl/
cp -P $ANDROID_PRODUCT_OUT/vendor/lib/egl/* lib/egl/
-cp -P $ANDROID_PRODUCT_OUT/vendor/lib64/dri/* lib64/dri/
-cp -P $ANDROID_PRODUCT_OUT/vendor/lib/dri/* lib/dri/
+cp -P $ANDROID_PRODUCT_OUT/vendor/lib64/dri/libgallium_dri* lib64/dri/
+cp -P $ANDROID_PRODUCT_OUT/vendor/lib/dri/libgallium_dri* lib/dri/
cp $ANDROID_PRODUCT_OUT/vendor/lib64/hw/vulkan.freedreno.so lib64/hw/
cp $ANDROID_PRODUCT_OUT/vendor/lib/hw/vulkan.freedreno.so lib/hw/