land: Add compatibility symlink for EGL libs

Change-Id: I821f10f83f8e7ecb1eca9e4abc3b32e52f377e34
This commit is contained in:
Zhao Wei Liew 2016-10-31 20:58:15 +08:00
parent 65dbbc2058
commit 7b4138de08

View file

@ -43,5 +43,12 @@ write_headers
# The standard blobs # The standard blobs
write_makefiles "$MY_DIR"/proprietary-files.txt write_makefiles "$MY_DIR"/proprietary-files.txt
cat << EOF >> "$ANDROIDMK"
\$(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)
\$(shell mkdir -p \$(PRODUCT_OUT)/system/vendor/lib64/egl && pushd \$(PRODUCT_OUT)/system/vendor/lib64 > /dev/null && ln -s egl/libEGL_adreno.so libEGL_adreno.so && popd > /dev/null)
EOF
# We are done! # We are done!
write_footers write_footers