[Buildroot] [PATCH v6 01/13] package/linux-headers: cleanup installation

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Feb 1 17:34:54 UTC 2016


Dear Samuel Martin,

On Mon,  1 Feb 2016 16:53:29 +0100, Samuel Martin wrote:
> This patch removes unnecessary files generated during installation.
> 
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
> 
> ---
> changes v5 -> v6:
> - new patch
> ---
>  package/linux-headers/linux-headers.mk | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk
> index 1b8b81b..872ef8f 100644
> --- a/package/linux-headers/linux-headers.mk
> +++ b/package/linux-headers/linux-headers.mk
> @@ -53,6 +53,7 @@ define LINUX_HEADERS_INSTALL_STAGING_CMDS
>  			HOSTCXX="$(HOSTCXX)" \
>  			INSTALL_HDR_PATH=$(STAGING_DIR)/usr \
>  			headers_install)
> +	find $(STAGING_DIR)/usr \( -name .install -o -name ..install.cmd \) -delete

Why? Are they causing specific problems? Some better justification in
the commit log would be good, because we generally don't add code to
clean up things in staging.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list