aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader/Makefile
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-03-30 12:14:43 +0300
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-03-31 19:06:17 +0200
commitb6370aca3709ef23a9e8fe556beaa2e4b4e089c3 (patch)
treee8e6fc4f6a2562e0807b5565ee30ba5b7f7ae01c /lib/efi_loader/Makefile
parent86fa918df6c7937bcd4afb89fed7f3043c65df62 (diff)
downloadu-boot-b6370aca3709ef23a9e8fe556beaa2e4b4e089c3.zip
u-boot-b6370aca3709ef23a9e8fe556beaa2e4b4e089c3.tar.gz
u-boot-b6370aca3709ef23a9e8fe556beaa2e4b4e089c3.tar.bz2
efi_loader: initrddump: Actually use the custom CFLAGS
It seems a copy'n'paste typo when tool had been introduced. It has never had the 'exit' suffix in the file name. Hence, the custom CFLAGS never been applied and, for example, BFD linker complains: LD lib/efi_loader/initrddump_efi.so ld.bfd: lib/efi_loader/initrddump.o: warning: relocation in read-only section `.text.efi_main' ld.bfd: warning: creating DT_TEXTREL in a shared object Remove wrong 'exit' suffix from the custom CFLAGS variable. Fixes: 65ab48d69ddb ("efi_selftest: provide initrddump test tool") Fixes: 9c045a49a9c9 ("efi_loader: move dtbdump.c, initrddump.c to lib/efi_loader") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib/efi_loader/Makefile')
-rw-r--r--lib/efi_loader/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/Makefile b/lib/efi_loader/Makefile
index befed71..034d26c 100644
--- a/lib/efi_loader/Makefile
+++ b/lib/efi_loader/Makefile
@@ -16,7 +16,7 @@ CFLAGS_helloworld.o := $(CFLAGS_EFI) -Os -ffreestanding
CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI)
CFLAGS_dtbdump.o := $(CFLAGS_EFI) -Os -ffreestanding
CFLAGS_REMOVE_dtbdump.o := $(CFLAGS_NON_EFI)
-CFLAGS_initrddump_exit.o := $(CFLAGS_EFI) -Os -ffreestanding
+CFLAGS_initrddump.o := $(CFLAGS_EFI) -Os -ffreestanding
CFLAGS_REMOVE_initrddump.o := $(CFLAGS_NON_EFI)
ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),)