aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorChristoph Müllner <christophm30@gmail.com>2019-04-24 09:45:30 +0200
committerChristoph Müllner <christophm30@gmail.com>2019-05-02 12:27:19 +0200
commit9e4609f103a16d6e74151a3046012a8b454da06e (patch)
treedd3d80ac743c711124aed3ddf1630c98bd79e182 /docs
parentb3c8ac135447ddb4eb0d4dcd224ffa961f349e33 (diff)
downloadplatform_external_arm-trusted-firmware-9e4609f103a16d6e74151a3046012a8b454da06e.tar.gz
platform_external_arm-trusted-firmware-9e4609f103a16d6e74151a3046012a8b454da06e.tar.bz2
platform_external_arm-trusted-firmware-9e4609f103a16d6e74151a3046012a8b454da06e.zip
build_macros: Add mechanism to prevent bin generation.
On certain platforms it does not make sense to generate TF-A binary images. For example a platform could make use of serveral memory areas, which are non-continuous and the resulting binary therefore would suffer from the padding-bytes. Typically these platforms use the ELF image. This patch introduces a variable DISABLE_BIN_GENERATION, which can be set to '1' in the platform makefile to prevent the binary generation. Signed-off-by: Christoph Müllner <christophm30@gmail.com> Change-Id: I62948e88bab685bb055fe6167d9660d14e604462
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/user-guide.rst b/docs/user-guide.rst
index 01cf17a23..2a21bd215 100644
--- a/docs/user-guide.rst
+++ b/docs/user-guide.rst
@@ -369,6 +369,10 @@ Common build options
- ``DEBUG``: Chooses between a debug and release build. It can take either 0
(release) or 1 (debug) as values. 0 is the default.
+- ``DISABLE_BIN_GENERATION``: Boolean option to disable the generation
+ of the binary image. If set to 1, then only the ELF image is built.
+ 0 is the default.
+
- ``DYN_DISABLE_AUTH``: Provides the capability to dynamically disable Trusted
Board Boot authentication at runtime. This option is meant to be enabled only
for development platforms. ``TRUSTED_BOARD_BOOT`` flag must be set if this