From cd2f20bc72f813684faa2b25df4f30516bcb3ba9 Mon Sep 17 00:00:00 2001 From: jonathanzetier <207571460+jonathanzetier@users.noreply.github.com> Date: Mon, 14 Apr 2025 08:17:29 -0700 Subject: Update README.md It looks like the build instructions hadn't been updated after the arch plugins were moved back to binaryninja-api. --- arch/armv7/README.md | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/arch/armv7/README.md b/arch/armv7/README.md index e8b263f2..23feeedb 100644 --- a/arch/armv7/README.md +++ b/arch/armv7/README.md @@ -7,8 +7,7 @@ If you're interested in contributing when you submit your first PR, you'll recei ## Building -Building the architecture plugin requires `cmake` 3.9 or above. You will also need the -[Binary Ninja API source](https://github.com/Vector35/binaryninja-api). +Building the architecture plugin requires `cmake` 3.9 or above Run `cmake`. This can be done either from a separate build directory or from the source directory. Once that is complete, run `make` in the build directory to compile the plugin. @@ -28,32 +27,14 @@ updates do not automatically uninstall your custom build.** ## Build Example -### acquire repositories -``` -mkdir ~/repos/vector35 -cd ~/repos/vector35 -git clone git@github.com:Vector35/binaryninja-api.git -git clone git@github.com:Vector35/arch-armv7.git -``` -### environment variables - -`export BN_API_PATH=~/repos/vector35/binaryninja-api` - ### cmake, make ``` -cd arch-armv7 +cd binaryninja-api/arch/armv7 cmake -DBN_INSTALL_DIR=/Applications/Binary\ Ninja\ DEV.app/ . make ``` ## Build Troubleshooting -### example - - CMake Error at CMakeLists.txt:8 (message): - Provide path to Binary Ninja API source in BN_API_PATH - resolution: - ensure BN_API_PATH is in your environment - ### example CMake Error at /Users/andrewl/repos/vector35/binaryninja-api/CMakeLists.txt:53 (message): -- cgit v1.3.1