Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libdrm: fix autoreconf
@ 2017-04-02 20:04 Bernd Kuhls
  2017-04-02 20:58 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2017-04-02 20:04 UTC (permalink / raw)
  To: buildroot

Patch suggested by Romain:
http://lists.busybox.net/pipermail/buildroot/2017-April/188480.html

Fixes
http://autobuild.buildroot.net/results/a20/a20d133a01a911fab8e7141a60c76c5832db8494/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/libdrm/Config.in | 1 +
 package/libdrm/libdrm.mk | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
index 81fc5ccf9..4bf8cf64c 100644
--- a/package/libdrm/Config.in
+++ b/package/libdrm/Config.in
@@ -1,6 +1,7 @@
 menuconfig BR2_PACKAGE_LIBDRM
 	bool "libdrm"
 	select BR2_PACKAGE_LIBPTHREAD_STUBS
+	select BR2_PACKAGE_XUTIL_UTIL_MACROS
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs
 	help
 	  Direct Rendering Manager
diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
index 875d3cc4a..3fc18c887 100644
--- a/package/libdrm/libdrm.mk
+++ b/package/libdrm/libdrm.mk
@@ -13,8 +13,10 @@ LIBDRM_AUTORECONF = YES
 
 LIBDRM_INSTALL_STAGING = YES
 
+# xutil_util-macros is needed for autoreconf
 LIBDRM_DEPENDENCIES = \
 	libpthread-stubs \
+	xutil_util-macros \
 	host-pkgconf
 
 LIBDRM_CONF_OPTS = \
-- 
2.11.0

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

* [Buildroot] [PATCH 1/1] package/libdrm: fix autoreconf
  2017-04-02 20:04 [Buildroot] [PATCH 1/1] package/libdrm: fix autoreconf Bernd Kuhls
@ 2017-04-02 20:58 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2017-04-02 20:58 UTC (permalink / raw)
  To: buildroot

Bernd, Romain, All,

On 2017-04-02 22:04 +0200, Bernd Kuhls spake thusly:
> Patch suggested by Romain:
> http://lists.busybox.net/pipermail/buildroot/2017-April/188480.html
> 
> Fixes
> http://autobuild.buildroot.net/results/a20/a20d133a01a911fab8e7141a60c76c5832db8494/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
>  package/libdrm/Config.in | 1 +
>  package/libdrm/libdrm.mk | 2 ++
>  2 files changed, 3 insertions(+)
> 
> diff --git a/package/libdrm/Config.in b/package/libdrm/Config.in
> index 81fc5ccf9..4bf8cf64c 100644
> --- a/package/libdrm/Config.in
> +++ b/package/libdrm/Config.in
> @@ -1,6 +1,7 @@
>  menuconfig BR2_PACKAGE_LIBDRM
>  	bool "libdrm"
>  	select BR2_PACKAGE_LIBPTHREAD_STUBS
> +	select BR2_PACKAGE_XUTIL_UTIL_MACROS
>  	depends on BR2_TOOLCHAIN_HAS_THREADS # libpthread-stubs
>  	help
>  	  Direct Rendering Manager
> diff --git a/package/libdrm/libdrm.mk b/package/libdrm/libdrm.mk
> index 875d3cc4a..3fc18c887 100644
> --- a/package/libdrm/libdrm.mk
> +++ b/package/libdrm/libdrm.mk
> @@ -13,8 +13,10 @@ LIBDRM_AUTORECONF = YES
>  
>  LIBDRM_INSTALL_STAGING = YES
>  
> +# xutil_util-macros is needed for autoreconf
>  LIBDRM_DEPENDENCIES = \
>  	libpthread-stubs \
> +	xutil_util-macros \

I wonder why the target variant would be needed, when we're talking
about needing the m4 macros durign the build, which should be provided
by the host variant, no?

At least, that was solving the issue for me...

Regards,
Yann E. MORIN.

>  	host-pkgconf
>  
>  LIBDRM_CONF_OPTS = \
> -- 
> 2.11.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

end of thread, other threads:[~2017-04-02 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-02 20:04 [Buildroot] [PATCH 1/1] package/libdrm: fix autoreconf Bernd Kuhls
2017-04-02 20:58 ` Yann E. MORIN

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