[Buildroot] [PATCH v3] libdri2: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Mar 15 13:59:42 UTC 2015


Dear Jerome Oufella,

On Wed, 11 Mar 2015 16:30:22 -0400, Jerome Oufella wrote:

> diff --git a/package/libdri2/Config.in b/package/libdri2/Config.in
> new file mode 100644
> index 0000000..f016e77
> --- /dev/null
> +++ b/package/libdri2/Config.in
> @@ -0,0 +1,16 @@
> +config BR2_PACKAGE_LIBDRI2
> +	bool "libdri2"
> +	select BR2_PACKAGE_LIBDRM
> +	select BR2_PACKAGE_XLIB_LIBXDAMAGE
> +	select BR2_PACKAGE_XLIB_LIBXEXT
> +	select BR2_PACKAGE_XPROTO_DRI2PROTO
> +	depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
> +	depends on BR2_LARGEFILE # libdrm
> +	depends on BR2_PACKAGE_XORG7
> +	help
> +	  Library for the DRI2 extension to the X Window System.
> +
> +	  https://github.com/robclark/libdri2
> +
> +comment "libdri2 needs a toolchain w/ largefile, threads"
> +	depends on !(BR2_LARGEFILE && BR2_TOOLCHAIN_HAS_THREADS)
> \ No newline at end of file

There was a missing new line here.

Other than that, I did a quick test build, and it went alright. So:
patch applied. Thanks!

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



More information about the buildroot mailing list