On 2017-09-21 15:20, [ext] Andreas J. Reichel wrote:
> 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
> 

Merged to next already.

Thanks,
Jan

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux

-- 
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/2bd99391-fb1c-dffe-6f00-42d617a7cf3b%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to