diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-25 03:59:24 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-04-27 21:16:59 +0200 |
commit | 504687e7c63f138b3747fd07358ad2c3cdd1b2f5 (patch) | |
tree | 736adb37eec68b15d4f8bc43004887b25c29789a /arch/ppc | |
parent | 1616d46052efae72587fb6da5f4fd117f91ce6f8 (diff) | |
download | barebox-504687e7c63f138b3747fd07358ad2c3cdd1b2f5.tar.gz barebox-504687e7c63f138b3747fd07358ad2c3cdd1b2f5.tar.xz |
kbuild: set SRCARCH=arm when ARCH=arm64
In Linux, ARCH can be passed from the command line or the environment.
In barebox, "ARCH=arm64 make" works, but "make ARCH=arm64" does not.
Instead of overriding ARCH, use SRCARCH properly.
This is what Linux does for biarch directories (x86, sh, sparc).
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc')
0 files changed, 0 insertions, 0 deletions