Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libdrm: fix install of test programs
@ 2024-03-24 17:45 Bernd Kuhls
  2024-05-10 12:02 ` Thomas Petazzoni via buildroot
  2024-06-07 20:29 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2024-03-24 17:45 UTC (permalink / raw)
  To: buildroot

Buildroot commit f95069814bd68cfc10ccf2dbc41efa6f1e127495 disabled the
build of test programs unconditionally without considering the option
BR2_PACKAGE_LIBDRM_INSTALL_TESTS.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/libdrm/libdrm.mk | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index a04331c2da..e0c1217b38 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -17,8 +17,7 @@ LIBDRM_DEPENDENCIES = \
 
 LIBDRM_CONF_OPTS = \
 	-Dcairo-tests=disabled \
-	-Dman-pages=disabled \
-	-Dtests=false
+	-Dman-pages=disabled
 
 ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y)
 LIBDRM_DEPENDENCIES += libatomic_ops
@@ -109,10 +108,12 @@ LIBDRM_CONF_OPTS += -Dvalgrind=disabled
 endif
 
 ifeq ($(BR2_PACKAGE_LIBDRM_INSTALL_TESTS),y)
-LIBDRM_CONF_OPTS += -Dinstall-test-programs=true
+LIBDRM_CONF_OPTS += -Dtests=true -Dinstall-test-programs=true
 ifeq ($(BR2_PACKAGE_CUNIT),y)
 LIBDRM_DEPENDENCIES += cunit
 endif
+else
+LIBDRM_CONF_OPTS += -Dtests=false
 endif
 
 $(eval $(meson-package))
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/libdrm: fix install of test programs
  2024-03-24 17:45 [Buildroot] [PATCH 1/1] package/libdrm: fix install of test programs Bernd Kuhls
@ 2024-05-10 12:02 ` Thomas Petazzoni via buildroot
  2024-06-07 20:29 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-10 12:02 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

On Sun, 24 Mar 2024 18:45:23 +0100
Bernd Kuhls <bernd@kuhls.net> wrote:

> Buildroot commit f95069814bd68cfc10ccf2dbc41efa6f1e127495 disabled the
> build of test programs unconditionally without considering the option
> BR2_PACKAGE_LIBDRM_INSTALL_TESTS.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>  package/libdrm/libdrm.mk | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/libdrm: fix install of test programs
  2024-03-24 17:45 [Buildroot] [PATCH 1/1] package/libdrm: fix install of test programs Bernd Kuhls
  2024-05-10 12:02 ` Thomas Petazzoni via buildroot
@ 2024-06-07 20:29 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-06-07 20:29 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:

 > Buildroot commit f95069814bd68cfc10ccf2dbc41efa6f1e127495 disabled the
 > build of test programs unconditionally without considering the option
 > BR2_PACKAGE_LIBDRM_INSTALL_TESTS.

 > Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Committed to 2024.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-07 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-24 17:45 [Buildroot] [PATCH 1/1] package/libdrm: fix install of test programs Bernd Kuhls
2024-05-10 12:02 ` Thomas Petazzoni via buildroot
2024-06-07 20:29 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox