[Buildroot] tslib puts staging_dir into pkgconfig file

Hans-Christian Egtvedt hans-christian.egtvedt at atmel.com
Tue Jan 20 06:02:39 UTC 2009


On Mon, 19 Jan 2009 17:30:48 +0100
Sven Neumann <s.neumann at phase-zero.de> wrote:

<snipp>

> Index: package/tslib/tslib.mk
> ===================================================================
> --- package/tslib/tslib.mk	(revision 24807)
> +++ package/tslib/tslib.mk	(working copy)
> @@ -29,13 +29,13 @@
>  	--target=$(GNU_TARGET_NAME) \
>  	--host=$(GNU_TARGET_NAME) \
>  	--build=$(GNU_HOST_NAME) \
> -	--prefix=$(STAGING_DIR)/usr \
> -	--exec_prefix=$(STAGING_DIR)/usr \
> +	--prefix=/usr \

This is usually enough to specify.

> +	--exec_prefix=/usr \
>  	--sysconfdir=/etc \

Along with this one.

>  	--datadir=/usr/share \
>  	--localstatedir=/var \
> -	--includedir=$(STAGING_DIR)/usr/include \
> -	--libdir=$(STAGING_DIR)/usr/lib \
> +	--includedir=/usr/include \
> +	--libdir=/usr/lib \
>  	--disable-static \
>  	--disable-linear-h2200 \
>  	--disable-ucb1x00 \

Why not just convert it to Makefile.autotools.in?

-- 
Best regards,
Hans-Christian Egtvedt



More information about the buildroot mailing list