* [Buildroot] [PATCH 1/1] package/neard: fix autoreconf
@ 2021-12-30 16:53 Fabrice Fontaine
2021-12-30 20:17 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2021-12-30 16:53 UTC (permalink / raw)
To: buildroot; +Cc: Simon Dawson, Fabrice Fontaine
Fix the following build failure raised since bump to version 0.18 in
commit 81d14a86258592b66b3cb170cda554a1eabf2c3f:
aclocal: error: couldn't open directory 'm4': No such file or directory
Fixes:
- http://autobuild.buildroot.org/results/f8e26416e38c83e27e7945343f497a6c9310bfcf
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/neard/neard.mk | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/package/neard/neard.mk b/package/neard/neard.mk
index 1ab3aa353e..51ba52fb90 100644
--- a/package/neard/neard.mk
+++ b/package/neard/neard.mk
@@ -15,6 +15,14 @@ NEARD_AUTORECONF = YES
NEARD_AUTORECONF_OPTS = --include=$(HOST_DIR)/share/autoconf-archive
NEARD_CONF_OPTS = --disable-traces
+# Autoreconf is missing the m4/ directory, which might actually be missing
+# iff it was the first argument, but unfortunately we are overriding the
+# first include directory above. Thus we need that hook here.
+define NEARD_CREATE_M4
+ mkdir -p $(@D)/m4
+endef
+NEARD_POST_PATCH_HOOKS += NEARD_CREATE_M4
+
ifeq ($(BR2_PACKAGE_NEARD_TOOLS),y)
NEARD_CONF_OPTS += --enable-tools
endif
--
2.33.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/neard: fix autoreconf
2021-12-30 16:53 [Buildroot] [PATCH 1/1] package/neard: fix autoreconf Fabrice Fontaine
@ 2021-12-30 20:17 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-12-30 20:17 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Simon Dawson, buildroot
On Thu, 30 Dec 2021 17:53:51 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure raised since bump to version 0.18 in
> commit 81d14a86258592b66b3cb170cda554a1eabf2c3f:
>
> aclocal: error: couldn't open directory 'm4': No such file or directory
>
> Fixes:
> - http://autobuild.buildroot.org/results/f8e26416e38c83e27e7945343f497a6c9310bfcf
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/neard/neard.mk | 8 ++++++++
> 1 file changed, 8 insertions(+)
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] 2+ messages in thread
end of thread, other threads:[~2021-12-30 20:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30 16:53 [Buildroot] [PATCH 1/1] package/neard: fix autoreconf Fabrice Fontaine
2021-12-30 20:17 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox