diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2018-08-30 17:33:50 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-08-31 09:25:27 +0200 |
commit | b8ea85614b8328ec3e6b464e348d76b843409e9d (patch) | |
tree | 365c98a13e7dbcf6f0ab1341cf1ed933f108777f | |
parent | ec58c283ca9af8a9ee35e1227f37a67f3874092d (diff) |
documentation: clarify $(ARCH)
$(ARCH) has to be 'arm' for both 32-bit and 64-bit Arm builds.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
-rw-r--r-- | documentation/build_system.md | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/documentation/build_system.md b/documentation/build_system.md index fa11e95e..ad2ffba4 100644 --- a/documentation/build_system.md +++ b/documentation/build_system.md @@ -32,7 +32,13 @@ environment or make variables (**VAR=value make** or **make VAR=value**). ### ARCH (CPU architecture) **$(ARCH)** is the CPU architecture to be built. Currently, the only supported -value is **arm** for 32-bit ARMv7. +value is **arm** for 32-bit or 64-bit Armv7-A or Armv8-A. Please note that +contrary to the Linux kernel, **$(ARCH)** should **not** be set to **arm64** for +64-bit builds. The **ARCH** variable does not need to be set explicitly before +building either, because the proper instruction set is selected from the +**$(PLATFORM)** value. For platforms that support both 32-bit and 64-bit +builds, **CFG_ARM64_core=y** should be set to select 64-bit and not set (or set +to **n**) to select 32-bit. Architecture-specific source code belongs to sub-directories that follow the `arch/$(ARCH)` pattern, such as: |