diff --git a/Makefile b/Makefile index 88426ed..8144e37 100755 --- a/Makefile +++ b/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 diff --git a/README.md b/README.md index fdd6cef..8e696a4 100644 --- a/README.md +++ b/README.md @@ -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 ```