Commit 400a9488d0f9eaaf513b8ac438a7adf216acd91a
1 parent
795611e6ff
Exists in
master
and in
50 other branches
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'.
Showing 2 changed files with 8 additions and 2 deletions Side-by-side Diff
boards.cfg
... | ... | @@ -397,7 +397,7 @@ |
397 | 397 | Active arm pxa - icpdas lp8x4x lp8x4x - Sergey Yanovich <ynvich@gmail.com> |
398 | 398 | Active arm pxa - toradex - colibri_pxa270 - Marek Vasut <marek.vasut@gmail.com> |
399 | 399 | Active arm sa1100 - - - jornada - Kristoffer Ericson <kristoffer.ericson@gmail.com> |
400 | -Active arm armv8 - armltd vexpress64 vexpress_aemv8a vexpress_aemv8a:ARM64 David Feng <fenghua@phytium.com.cn> | |
400 | +Active aarch64 armv8 - armltd vexpress64 vexpress_aemv8a vexpress_aemv8a:ARM64 David Feng <fenghua@phytium.com.cn> | |
401 | 401 | Active avr32 at32ap at32ap700x atmel - atngw100 - Haavard Skinnemoen <haavard.skinnemoen@atmel.com> |
402 | 402 | Active avr32 at32ap at32ap700x atmel - atngw100mkii - Andreas Bießmann <andreas.devel@googlemail.com> |
403 | 403 | Active avr32 at32ap at32ap700x atmel atstk1000 atstk1002 - Haavard Skinnemoen <haavard.skinnemoen@atmel.com> |
mkconfig
... | ... | @@ -85,6 +85,13 @@ |
85 | 85 | exit 1 |
86 | 86 | fi |
87 | 87 | |
88 | +# | |
89 | +# Test above needed aarch64, now we need arm | |
90 | +# | |
91 | +if [ "${arch}" = "aarch64" ]; then | |
92 | + arch="arm" | |
93 | +fi | |
94 | + | |
88 | 95 | if [ "$options" ] ; then |
89 | 96 | echo "Configuring for ${BOARD_NAME} - Board: ${CONFIG_NAME}, Options: ${options}" |
90 | 97 | else |