aboutsummaryrefslogtreecommitdiff
path: root/shim/sl/scripts/modify_aosp_libs.sh
diff options
context:
space:
mode:
authorFinn Williams <finn.williams@arm.com>2022-03-02 12:45:44 +0000
committerKevin May <kevin.may@arm.com>2022-03-09 09:16:05 +0000
commitde1cd79500a3e6b8744d00fbf54abaae741d881f (patch)
tree937d04f0be6ce81e67d105a700ca5320ee676ae1 /shim/sl/scripts/modify_aosp_libs.sh
parent998a20832fd511de75c2cd935b7a0e851e91156d (diff)
downloadarmnn-de1cd79500a3e6b8744d00fbf54abaae741d881f.tar.gz
Add patch to support mapping ashmem and fix error handling
Signed-off-by: Kevin May <kevin.may@arm.com> Signed-off-by: Finn Williams <finn.williams@arm.com> Change-Id: I8ff912691c4d197d398c22c3e08288d0d0fd7e0a
Diffstat (limited to 'shim/sl/scripts/modify_aosp_libs.sh')
-rwxr-xr-xshim/sl/scripts/modify_aosp_libs.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/shim/sl/scripts/modify_aosp_libs.sh b/shim/sl/scripts/modify_aosp_libs.sh
index c991678dd2..b10a36cfd1 100755
--- a/shim/sl/scripts/modify_aosp_libs.sh
+++ b/shim/sl/scripts/modify_aosp_libs.sh
@@ -11,12 +11,12 @@ pushd "${AOSP_DIR}/system/libbase/"
popd
pushd "${AOSP_DIR}/packages/modules/NeuralNetworks/"
- echo "Applying NeuralNetworks.cpp patch"
- git apply "${SCRIPT_PATH}/NeuralNetworks_cpp.patch"
+ echo "Applying NeuralNetworks patch"
+ git apply "${SCRIPT_PATH}/NeuralNetworks.patch"
echo " Checking out master version of SharedMemory.h/.cpp which includes convertRequestFromPointerToShared"
- git checkout master -- common/SharedMemory.cpp
- git checkout master -- common/include/nnapi/SharedMemory.h
+ git checkout 736317504083629929373bd349f667893bc8204c -- common/SharedMemory.cpp
+ git checkout 736317504083629929373bd349f667893bc8204c -- common/include/nnapi/SharedMemory.h
popd
pushd "${SCRIPT_PATH}/.."