[Buildroot] [PATCH 08/41] ext-toolchain: remove pkgconfig files from the external toolchain

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Apr 14 13:42:44 UTC 2010


On Wed, 14 Apr 2010 01:05:41 +0200
llandwerlin at gmail.com wrote:

> --- a/toolchain/external-toolchain/ext-tool.mk
> +++ b/toolchain/external-toolchain/ext-tool.mk
> @@ -80,7 +80,8 @@ copy_toolchain_lib_root = \
>  copy_toolchain_sysroot = \
>  	SYSROOT_DIR="$(strip $1)"; \
>  	cp -a $${SYSROOT_DIR}/* $(STAGING_DIR)/ ; \
> -	find $(STAGING_DIR) -type d | xargs chmod 755
> +	find $(STAGING_DIR) -type d | xargs chmod 755; \
> +	rm -rf $(STAGING_DIR)/usr/lib/pkgconfig

Just curious, which toolchain has pkgconfig files in its sysroot dir ?
If it has pkgconfig files in its sysroot dir, doesn't it also have
other libraries than the C library in /usr/lib ?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list