added ndk for building

This commit is contained in:
Eljakim Herrewijnen 2024-05-17 14:59:52 +02:00
parent 277ffc3f28
commit c8e1094f1a
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,9 @@
ifeq ($(ANDROID_NDK_ROOT),)
$(error Error : Set the env variable 'ANDROID_NDK_ROOT' with the path of the Android NDK (version 20))
endif
#ARM thumb mode
DEVKITARM := $(TOOLCHAINENV)/gcc-arm-none-eabi-10-2020-q4-major
CC = $(DEVKITARM)/bin/arm-none-eabi-gcc CC = $(DEVKITARM)/bin/arm-none-eabi-gcc
LD = $(DEVKITARM)/bin/arm-none-eabi-ld LD = $(DEVKITARM)/bin/arm-none-eabi-ld

View File

@ -12,10 +12,9 @@ A fork of early commit of [hekate](https://github.com/CTCaer/hekate/).
I am studying its process. I am studying its process.
## Build ## Build
### **Archlinux**
```shell ```shell
sudo pacman -S arm-none-eabi-newlib arm-none-eabi-gcc arm-none-eabi-binutils #Build Toolchain mkdir -p build
mkdir build export ANDROID_NDK_ROOT=$TOOLCHAINENV/android-ndk-r21_Linux
make make
...#Run the payload
``` ```