Skip to contentSkip to conversation

package/libdrm: fix autoreconf

PATCH New Bernd Kuhls 2 participants 2 messages Apr 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libdrm: fix autoreconf

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

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

---
 package/libdrm/Config.in | 1 +
 package/libdrm/libdrm.mk | 2 ++
 2 files changed, 3 insertions(+)
package/libdrm/Config.in +1 -0
index 81fc5ccf9..4bf8cf64c 100644
@@ -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
package/libdrm/libdrm.mk +2 -0
index 875d3cc4a..3fc18c887 100644
@@ -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 = \
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/libdrm: fix autoreconf

Bernd, Romain, All,

On 2017-04-02 22:04 +0200, Bernd Kuhls spake thusly:

Quoted 29 lines

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

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

---
 package/libdrm/Config.in | 1 +
 package/libdrm/libdrm.mk | 2 ++
 2 files changed, 3 insertions(+)
package/libdrm/Config.in +1 -0
index 81fc5ccf9..4bf8cf64c 100644
@@ -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
package/libdrm/libdrm.mk +0 -0
index 875d3cc4a..3fc18c887 100644

package/libdrm/libdrm.mk LIBDRM_AUTORECONF = YES · line 19

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

Quoted 10 lines
package/libdrm/libdrm.mk +0 -0
 	host-pkgconf
 
 LIBDRM_CONF_OPTS = \
Signature · 6 lines
2.11.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'