Support for non-dkA toolchains

This commit is contained in:
PikalaxALT
2019-06-28 22:26:11 -04:00
parent 7a02a9ef36
commit e92e9a184c
5 changed files with 32 additions and 4 deletions

View File

@@ -101,3 +101,16 @@ If you've only changed `.c` or `.s` files, you can turn off the dependency scann
`make NODEP=1`
# Building with devkitARM's C compiler
This project supports the `arm-none-eabi-gcc` compiler which ships with devkitARM r52. To build this target, simply run:
make modern
# Building with your own toolchain
To build Pokemon Emerald with a toolchain other than devkitARM, override the `DEVKITARM` environment variable with the path to your toolchain. Example:
make compare DEVKITARM=/usr/local/arm-none-eabi
The path you pass to the `DEVKITARM` variable must contain the subdirectory `bin`. If you compile the `modern` target with this toolchain, the subdirectories `lib`, `include`, and `arm-none-eabi` must also be present.