summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-01-27 22:13:32 -0700
committerSimon Glass <sjg@chromium.org>2015-02-05 22:16:43 -0700
commiteea0f11278d9104960dfb1fbfcddfb796a3e0bb5 (patch)
treea7bc1309e894bc9e56eaec6f0aedc3bfa34f562a /Makefile
parent316328f59d5bb64ed8ab70b68edb434cae70ee58 (diff)
downloadu-boot-imx-eea0f11278d9104960dfb1fbfcddfb796a3e0bb5.zip
u-boot-imx-eea0f11278d9104960dfb1fbfcddfb796a3e0bb5.tar.gz
u-boot-imx-eea0f11278d9104960dfb1fbfcddfb796a3e0bb5.tar.bz2
x86: Add an option to enabling building a ROM file
Rather than requiring the Makefile to be modified, provide a build option to enable the ROM to be built. We cannot do this by default since it requires binary blobs. Without these the build will fail. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 92faed6..eea69b1 100644
--- a/Makefile
+++ b/Makefile
@@ -729,8 +729,9 @@ ALL-$(CONFIG_SPL) += $(CONFIG_SPL_TARGET:"%"=%)
endif
ALL-$(CONFIG_REMAKE_ELF) += u-boot.elf
-# We can't do this yet due to the need for binary blobs
-# ALL-$(CONFIG_X86_RESET_VECTOR) += u-boot.rom
+ifneq ($(BUILD_ROM),)
+ALL-$(CONFIG_X86_RESET_VECTOR) += u-boot.rom
+endif
# enable combined SPL/u-boot/dtb rules for tegra
ifneq ($(CONFIG_TEGRA),)