aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-11-03 21:09:05 -0600
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-11-07 18:36:55 +0100
commit26e24d626b1477b63d62e81565b79d0c889b4485 (patch)
tree93d87b0799b50aa12aa0b7a3616410c709bab962 /Makefile
parent815ef1ca1dcf52b12b8fe9f9db4086ea7a92e569 (diff)
downloadu-boot-26e24d626b1477b63d62e81565b79d0c889b4485.zip
u-boot-26e24d626b1477b63d62e81565b79d0c889b4485.tar.gz
u-boot-26e24d626b1477b63d62e81565b79d0c889b4485.tar.bz2
efi: Drop the OF_EMBED warning for EFI
For the EFI app, we must embed the devicetree in the ELF file since that is the only thing that is run by UEFI. Drop the warning to avoid confusion. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c45da3a..bf78009 100644
--- a/Makefile
+++ b/Makefile
@@ -1094,7 +1094,7 @@ endif
ifeq ($(CONFIG_DEPRECATED),y)
$(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.")
endif
-ifeq ($(CONFIG_OF_EMBED),y)
+ifeq ($(CONFIG_OF_EMBED)$(CONFIG_EFI_APP),y)
@echo >&2 "===================== WARNING ======================"
@echo >&2 "CONFIG_OF_EMBED is enabled. This option should only"
@echo >&2 "be used for debugging purposes. Please use"