Skip to contentSkip to conversation

libdrm: Add menu option to install the test programs

PATCH New Ezequiel Garcia 2 participants 4 messages May 23, 2014 – Jun 14, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libdrm: Add menu option to install the test programs

The libdrm has a bunch of useful test programs. Add an option to pass the configure option to install them.

---
 package/libdrm/Config.in | 5 +++++
 package/libdrm/libdrm.mk | 4 ++++
 2 files changed, 9 insertions(+)
package/libdrm/Config.in +5 -0
index e6a7a42..9acc908 100644
@@ -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
package/libdrm/libdrm.mk +4 -0
index b3e4d7a..d912d6d 100644
@@ -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))
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 libdrm: Add menu option to install the test programs

Quoted 3 lines · Ezequiel Garcia

The libdrm has a bunch of useful test programs. Add an option to pass the configure option to install them.

Ping?

Signature · 2 lines
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
#2 lore raw

PATCH 1/1 libdrm: Add menu option to install the test programs

In reply to Ezequiel Garcia

(Adding Bernd to Cc)

Quoted 31 lines · Ezequiel Garcia

The libdrm has a bunch of useful test programs. Add an option to pass the configure option to install them.

---
 package/libdrm/Config.in | 5 +++++
 package/libdrm/libdrm.mk | 4 ++++
 2 files changed, 9 insertions(+)
package/libdrm/Config.in +5 -0
index e6a7a42..9acc908 100644
@@ -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
package/libdrm/libdrm.mk +0 -0
index b3e4d7a..d912d6d 100644

package/libdrm/libdrm.mk else · line 76

Quoted 8 lines
package/libdrm/libdrm.mk +4 -0
@@ -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?

Signature · 2 lines
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar
#3 lore raw

PATCH 1/1 libdrm: Add menu option to install the test programs

In reply to Ezequiel Garcia

Dear Ezequiel Garcia,

Quoted 8 lines · Ezequiel Garcia

The libdrm has a bunch of useful test programs. Add an option to pass the configure option to install them.

---
 package/libdrm/Config.in | 5 +++++
 package/libdrm/libdrm.mk | 4 ++++
 2 files changed, 9 insertions(+)

Applied, thanks!

Thomas

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