From: Andreas Reichel <[email protected]> Create symlink with -f option to avoid error if it already exists. Change target rule of symlink creation to make it more obvious and increase compatibility to different build environments.
Signed-off-by: Andreas Reichel <[email protected]> --- Makefile.am | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 6038f30..c6ebec4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -84,7 +84,7 @@ bg_setenv_DEPENDENCIES = \ libbg_utils.a install-exec-hook: - $(LN_S) bg_setenv$(EXEEXT) \ + $(LN_S) -f bg_setenv$(EXEEXT) \ $(DESTDIR)$(bindir)/bg_printenv$(EXEEXT) # @@ -185,10 +185,11 @@ $(efi_loadername): $(efi_solib) -j .dynsym -j .rel -j .rela -j .reloc -j .init_array \ --target=efi-app-$(ARCH) $< $@ -bg_printenv_DATA = bg_printenv bg_printenvdir = $(top_srcdir) bg_printenv: $(bg_setenv) - $(LN_S) bg_setenv bg_printenv + $(LN_S) -f bg_setenv bg_printenv + +all-local: bg_printenv CLEANFILES += bg_printenv -- 2.14.1 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20170921132111.29035-2-andreas.reichel.ext%40siemens.com. For more options, visit https://groups.google.com/d/optout.
