Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Options:
- --target=[armv5tel|i586] : Cross-compile for this target architecture.
- Uses the QEMU emulator if needed to virtualise
- the desired target architecture.
- Can be permanently set with TARGET_ARCH= in
- .config.
+ --target=[aarch64|armv5tel|i586] : Cross-compile for this target architecture.
+ Uses the QEMU emulator if needed to virtualise
+ the desired target architecture.
+ Can be permanently set with TARGET_ARCH= in
+ .config.
local magic
case "${build_arch}" in
+ aarch64)
+ magic="7f454c460201010000000000000000000200b700"
+ ;;
arm*)
magic="7f454c4601010100000000000000000002002800"
;;