[Buildroot] [PATCH v7 4/9] core: sanitize RPATH in target tree at the end of target finalization

Arnout Vandecappelle arnout at mind.be
Wed Jul 19 23:34:16 UTC 2017



On 05-07-17 18:53, Wolfgang Grandegger wrote:
> Signed-off-by: Wolfgang Grandegger <wg at grandegger.com>
> ---
>  Makefile | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/Makefile b/Makefile
> index cdc3a64..1a826fc 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -725,6 +725,8 @@ endif
>  
>  	@$(call MESSAGE,"Sanitizing RPATH in staging tree")
>  	$(TOPDIR)/support/scripts/fix-rpath staging
> +	@$(call MESSAGE,"Sanitizing RPATH in target tree")
> +	$(TOPDIR)/support/scripts/fix-rpath target

 I think we should do this *before* copying the overlay and calling the
post-build script. Indeed, in my mind, the user is completely responsible for
what happens there, and it should never be touched by us.


 Regards,
 Arnout

>  
>  .PHONY: target-post-image
>  target-post-image: $(TARGETS_ROOTFS) target-finalize
> 

-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF



More information about the buildroot mailing list