* [Buildroot] [PATCH] libdrm: Add menu option to install the test programs
@ 2014-05-23 15:13 Ezequiel Garcia
2014-06-04 19:30 ` Ezequiel Garcia
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Ezequiel Garcia @ 2014-05-23 15:13 UTC (permalink / raw)
To: buildroot
The libdrm has a bunch of useful test programs. Add an option to pass
the configure option to install them.
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
---
package/libdrm/Config.in | 5 +++++
package/libdrm/libdrm.mk | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index e6a7a42..9acc908 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -10,6 +10,11 @@ config BR2_PACKAGE_LIBDRM
if BR2_PACKAGE_LIBDRM
+config BR2_PACKAGE_LIBDRM_INSTALL_TESTS
+ bool "Install test programs"
+ help
+ This option allows to install the libdrm test programs.
+
menu "DRM Drivers"
config BR2_PACKAGE_LIBDRM_INTEL
diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index b3e4d7a..d912d6d 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -69,4 +69,8 @@ else
LIBDRM_CONF_OPT += --disable-udev
endif
+ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y)
+LIBDRM_CONF_OPT += --enable-install-test-programs
+endif
+
$(eval $(autotools-package))
--
1.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] libdrm: Add menu option to install the test programs
2014-05-23 15:13 [Buildroot] [PATCH] libdrm: Add menu option to install the test programs Ezequiel Garcia
@ 2014-06-04 19:30 ` Ezequiel Garcia
2014-06-09 14:11 ` Ezequiel Garcia
2014-06-14 17:06 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Ezequiel Garcia @ 2014-06-04 19:30 UTC (permalink / raw)
To: buildroot
On 23 May 12:13 PM, Ezequiel Garcia wrote:
> The libdrm has a bunch of useful test programs. Add an option to pass
> the configure option to install them.
>
Ping?
--
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] libdrm: Add menu option to install the test programs
2014-05-23 15:13 [Buildroot] [PATCH] libdrm: Add menu option to install the test programs Ezequiel Garcia
2014-06-04 19:30 ` Ezequiel Garcia
@ 2014-06-09 14:11 ` Ezequiel Garcia
2014-06-14 17:06 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Ezequiel Garcia @ 2014-06-09 14:11 UTC (permalink / raw)
To: buildroot
(Adding Bernd to Cc)
On 23 May 12:13 PM, Ezequiel Garcia wrote:
> The libdrm has a bunch of useful test programs. Add an option to pass
> the configure option to install them.
>
> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
> ---
> package/libdrm/Config.in | 5 +++++
> package/libdrm/libdrm.mk | 4 ++++
> 2 files changed, 9 insertions(+)
>
> diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
> index e6a7a42..9acc908 100644
> --- a/package/libdrm/Config.in
> +++ b/package/libdrm/Config.in
> @@ -10,6 +10,11 @@ config BR2_PACKAGE_LIBDRM
>
> if BR2_PACKAGE_LIBDRM
>
> +config BR2_PACKAGE_LIBDRM_INSTALL_TESTS
> + bool "Install test programs"
> + help
> + This option allows to install the libdrm test programs.
> +
> menu "DRM Drivers"
>
> config BR2_PACKAGE_LIBDRM_INTEL
> diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
> index b3e4d7a..d912d6d 100644
> --- a/package/libdrm/libdrm.mk
> +++ b/package/libdrm/libdrm.mk
> @@ -69,4 +69,8 @@ else
> LIBDRM_CONF_OPT += --disable-udev
> endif
>
> +ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y)
> +LIBDRM_CONF_OPT += --enable-install-test-programs
> +endif
> +
> $(eval $(autotools-package))
>
Any feedback on this?
--
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] libdrm: Add menu option to install the test programs
2014-05-23 15:13 [Buildroot] [PATCH] libdrm: Add menu option to install the test programs Ezequiel Garcia
2014-06-04 19:30 ` Ezequiel Garcia
2014-06-09 14:11 ` Ezequiel Garcia
@ 2014-06-14 17:06 ` Thomas Petazzoni
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2014-06-14 17:06 UTC (permalink / raw)
To: buildroot
Dear Ezequiel Garcia,
On Fri, 23 May 2014 12:13:19 -0300, Ezequiel Garcia wrote:
> The libdrm has a bunch of useful test programs. Add an option to pass
> the configure option to install them.
>
> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
> ---
> package/libdrm/Config.in | 5 +++++
> package/libdrm/libdrm.mk | 4 ++++
> 2 files changed, 9 insertions(+)
Applied, thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-06-14 17:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-23 15:13 [Buildroot] [PATCH] libdrm: Add menu option to install the test programs Ezequiel Garcia
2014-06-04 19:30 ` Ezequiel Garcia
2014-06-09 14:11 ` Ezequiel Garcia
2014-06-14 17:06 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox