This value is not available with the EFI app. Add a condition to avoid introducing errors when linking.
Signed-off-by: Simon Glass <s...@chromium.org> --- Changes in v4: - Got back to depending on HAVE_TEXT_BASE Changes in v2: - Depend on CONFIG_EFI_APP instead - Drop change to u-boot-elf rule Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b1d3301476d..5c4e03f9ce1 100644 --- a/Makefile +++ b/Makefile @@ -1050,8 +1050,10 @@ LDFLAGS_u-boot += -z notext $(call ld-option,--apply-dynamic-relocs) LDFLAGS_u-boot += --build-id=none ifeq ($(CONFIG_ARC)$(CONFIG_NIOS2)$(CONFIG_X86)$(CONFIG_XTENSA),) +ifdef CONFIG_HAVE_TEXT_BASE LDFLAGS_u-boot += -Ttext $(CONFIG_TEXT_BASE) endif +endif # make the checker run with the right architecture CHECKFLAGS += --arch=$(ARCH) -- 2.43.0