added ndk for building
This commit is contained in:
parent
277ffc3f28
commit
c8e1094f1a
5
Makefile
5
Makefile
@ -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
|
||||
LD = $(DEVKITARM)/bin/arm-none-eabi-ld
|
||||
|
@ -12,10 +12,9 @@ A fork of early commit of [hekate](https://github.com/CTCaer/hekate/).
|
||||
I am studying its process.
|
||||
|
||||
## Build
|
||||
### **Archlinux**
|
||||
|
||||
```shell
|
||||
sudo pacman -S arm-none-eabi-newlib arm-none-eabi-gcc arm-none-eabi-binutils #Build Toolchain
|
||||
mkdir build
|
||||
mkdir -p build
|
||||
export ANDROID_NDK_ROOT=$TOOLCHAINENV/android-ndk-r21_Linux
|
||||
make
|
||||
...#Run the payload
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user