diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-01-10 10:19:45 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-01-10 15:17:41 +0100 |
commit | 400a9488d0f9eaaf513b8ac438a7adf216acd91a (patch) | |
tree | 12f01a7ea6bcccdce3412505e35cad8f150b6f4a /mkconfig | |
parent | 795611e6ffb7d95c2a4529f365953bead0ccd13f (diff) | |
download | u-boot-imx-400a9488d0f9eaaf513b8ac438a7adf216acd91a.zip u-boot-imx-400a9488d0f9eaaf513b8ac438a7adf216acd91a.tar.gz u-boot-imx-400a9488d0f9eaaf513b8ac438a7adf216acd91a.tar.bz2 |
arm: make 'MAKEALL -a' distinguish between arm and aarch64
The vexpress_aemv8a is the first aarch64 board in U-Boot.
As it was introduced, it gets built when "MAKEALL -a arm"
is invoked, and fails as this command is run with a 32-bit,
not 64-bit, toolchain as the cross-compiler.
Introduce 'aarch64' as a valid 'MAKEALL -a' argument, treated
as 'arm' for all other intents, and change the architecture
of the vexpress_aemv8a entry in boards.cfg from 'arm' to
'aarch64'.
Diffstat (limited to 'mkconfig')
-rwxr-xr-x | mkconfig | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -85,6 +85,13 @@ if [ "${ARCH}" -a "${ARCH}" != "${arch}" ]; then exit 1 fi +# +# Test above needed aarch64, now we need arm +# +if [ "${arch}" = "aarch64" ]; then + arch="arm" +fi + if [ "$options" ] ; then echo "Configuring for ${BOARD_NAME} - Board: ${CONFIG_NAME}, Options: ${options}" else |