Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/asterisk: add workaround to fix build issues
@ 2026-02-02 17:37 Waldemar Brodkorb
  2026-02-04 15:01 ` Thomas Petazzoni via buildroot
  2026-02-13 19:38 ` Thomas Perale via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2026-02-02 17:37 UTC (permalink / raw)
  To: buildroot

Sometimes asterisk buildsystem decides to remove our own
build menuselect stuff for the host. And then fails to
run the cross-compiled binary.

Add a patch to avoid removal of the menuselect stuff.

Fixes:
 - https://autobuild.buildroot.net/results/5f7/5f76f032ee596e928089b064b01f08adacade47a/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 ...0005-Makefile-don-t-clean-menuselect.patch | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 package/asterisk/0005-Makefile-don-t-clean-menuselect.patch

diff --git a/package/asterisk/0005-Makefile-don-t-clean-menuselect.patch b/package/asterisk/0005-Makefile-don-t-clean-menuselect.patch
new file mode 100644
index 0000000000..79c3174853
--- /dev/null
+++ b/package/asterisk/0005-Makefile-don-t-clean-menuselect.patch
@@ -0,0 +1,26 @@
+From 844c1cddf38fd91e15a93eef96c67a5834fc9a78 Mon Sep 17 00:00:00 2001
+From: Waldemar Brodkorb <wbx@openadk.org>
+Date: Sat, 10 Jan 2026 12:25:30 +0100
+Subject: [PATCH] Makefile: don't clean menuselect
+
+Upstream: not applicable
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+---
+ Makefile | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index b57f77477f..80035a09e7 100644
+--- a/Makefile
++++ b/Makefile
+@@ -436,7 +436,6 @@ _clean:
+ 	rm -f doxygen.log
+ 	rm -rf latex
+ 	rm -f rest-api-templates/*.pyc
+-	@$(MAKE) -C menuselect clean
+ 	cp -f .cleancount .lastclean
+ 
+ dist-clean: distclean
+-- 
+2.47.3
+
-- 
2.47.3

_______________________________________________
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] package/asterisk: add workaround to fix build issues
  2026-02-02 17:37 [Buildroot] [PATCH] package/asterisk: add workaround to fix build issues Waldemar Brodkorb
@ 2026-02-04 15:01 ` Thomas Petazzoni via buildroot
  2026-02-13 19:38 ` Thomas Perale via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-02-04 15:01 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

On Mon, Feb 02, 2026 at 06:37:56PM +0100, Waldemar Brodkorb wrote:
> Sometimes asterisk buildsystem decides to remove our own
> build menuselect stuff for the host. And then fails to
> run the cross-compiled binary.
> 
> Add a patch to avoid removal of the menuselect stuff.
> 
> Fixes:
>  - https://autobuild.buildroot.net/results/5f7/5f76f032ee596e928089b064b01f08adacade47a/
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Not ideal to have a non-upstreamable fix, but it's simple
enough. Would be great if upstream could support cross-compilation for
real.

In the mean time: applied, thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
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] package/asterisk: add workaround to fix build issues
  2026-02-02 17:37 [Buildroot] [PATCH] package/asterisk: add workaround to fix build issues Waldemar Brodkorb
  2026-02-04 15:01 ` Thomas Petazzoni via buildroot
@ 2026-02-13 19:38 ` Thomas Perale via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Perale via buildroot @ 2026-02-13 19:38 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: Thomas Perale, buildroot

In reply of:
> Sometimes asterisk buildsystem decides to remove our own
> build menuselect stuff for the host. And then fails to
> run the cross-compiled binary.
> 
> Add a patch to avoid removal of the menuselect stuff.
> 
> Fixes:
>  - https://autobuild.buildroot.net/results/5f7/5f76f032ee596e928089b064b01f08adacade47a/
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Applied to 2025.02.x & 2025.11.x. Thanks

> ---
>  ...0005-Makefile-don-t-clean-menuselect.patch | 26 +++++++++++++++++++
>  1 file changed, 26 insertions(+)
>  create mode 100644 package/asterisk/0005-Makefile-don-t-clean-menuselect.patch
> 
> diff --git a/package/asterisk/0005-Makefile-don-t-clean-menuselect.patch b/package/asterisk/0005-Makefile-don-t-clean-menuselect.patch
> new file mode 100644
> index 0000000000..79c3174853
> --- /dev/null
> +++ b/package/asterisk/0005-Makefile-don-t-clean-menuselect.patch
> @@ -0,0 +1,26 @@
> +From 844c1cddf38fd91e15a93eef96c67a5834fc9a78 Mon Sep 17 00:00:00 2001
> +From: Waldemar Brodkorb <wbx@openadk.org>
> +Date: Sat, 10 Jan 2026 12:25:30 +0100
> +Subject: [PATCH] Makefile: don't clean menuselect
> +
> +Upstream: not applicable
> +Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> +---
> + Makefile | 1 -
> + 1 file changed, 1 deletion(-)
> +
> +diff --git a/Makefile b/Makefile
> +index b57f77477f..80035a09e7 100644
> +--- a/Makefile
> ++++ b/Makefile
> +@@ -436,7 +436,6 @@ _clean:
> + 	rm -f doxygen.log
> + 	rm -rf latex
> + 	rm -f rest-api-templates/*.pyc
> +-	@$(MAKE) -C menuselect clean
> + 	cp -f .cleancount .lastclean
> + 
> + dist-clean: distclean
> +-- 
> +2.47.3
> +
> -- 
> 2.47.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
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:[~2026-02-13 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-02 17:37 [Buildroot] [PATCH] package/asterisk: add workaround to fix build issues Waldemar Brodkorb
2026-02-04 15:01 ` Thomas Petazzoni via buildroot
2026-02-13 19:38 ` Thomas Perale via buildroot

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