]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: initrddump: Actually use the custom CFLAGS
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 30 Mar 2022 09:14:43 +0000 (12:14 +0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 31 Mar 2022 17:06:17 +0000 (19:06 +0200)
commitf902cf1c706347c00175547ebb936e26e417176e
treee8e6fc4f6a2562e0807b5565ee30ba5b7f7ae01c
parent4f24cf5849ada03c3a54048b237769e6d28da8b7
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: 1b6adce86793 ("efi_selftest: provide initrddump test tool")
Fixes: f22cda5c16ba ("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>
lib/efi_loader/Makefile