diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-10-16 18:08:38 +0000 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2017-10-19 11:37:51 +0800 |
commit | 871aa41d4c9ecf8d89b98491dc86d0097fdf80e5 (patch) | |
tree | 71eb3816b2faf5eb7e5cdcb46418d8071fb25062 /doc/README.x86 | |
parent | 83262f99cd3619336b0d48257bc6595b7610a134 (diff) | |
download | u-boot-871aa41d4c9ecf8d89b98491dc86d0097fdf80e5.tar.gz |
x86: provide CONFIG_BUILD_ROM
Up to now we depended on an exported variable to build u-boot.rom.
We should be able to specify it in the configuration file, too.
With this patch this becomes possible using the new Kconfig option
CONFIG_BUILD_ROM.
This option depends on CONFIG_X86 and is selected in
qemu-x86_defconfig and qemu-x86_64_defconfig.
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'doc/README.x86')
-rw-r--r-- | doc/README.x86 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/README.x86 b/doc/README.x86 index 92f41283be..772e8d2a86 100644 --- a/doc/README.x86 +++ b/doc/README.x86 @@ -80,11 +80,15 @@ Building a ROM version of U-Boot (hereafter referred to as u-boot.rom) is a little bit tricky, as generally it requires several binary blobs which are not shipped in the U-Boot source tree. Due to this reason, the u-boot.rom build is not turned on by default in the U-Boot source tree. Firstly, you need turn it -on by enabling the ROM build: +on by enabling the ROM build either via an environment variable -$ export BUILD_ROM=y + $ export BUILD_ROM=y -This tells the Makefile to build u-boot.rom as a target. +or via configuration + + CONFIG_BUILD_ROM=y + +Both tell the Makefile to build u-boot.rom as a target. --- |