package/asterisk: add workaround to fix build issues
PATCH 1/1 package/asterisk: add workaround to fix build issues
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/
--- ...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
package/asterisk/0005-Makefile-don-t-clean-menuselect.patch new file +26 -0
@@ -0,0 +1,26 @@ +From 844c1cddf38fd91e15a93eef96c67a5834fc9a78 Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb <[email protected]> +Date: Sat, 10 Jan 2026 12:25:30 +0100 +Subject: [PATCH] Makefile: don't clean menuselect + +Upstream: not applicable +Signed-off-by: Waldemar Brodkorb <[email protected]> +--- + 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 +
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · Waldemar Brodkorb
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 <[email protected]>
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
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn reply of:
Quoted 10 lines
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 <[email protected]>
Applied to 2025.02.x & 2025.11.x. Thanks
Quoted 44 lines
--- ...0005-Makefile-don-t-clean-menuselect.patch | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 package/asterisk/0005-Makefile-don-t-clean-menuselect.patchpackage/asterisk/0005-Makefile-don-t-clean-menuselect.patch new file +26
-0@@ -0,0 +1,26 @@ +From 844c1cddf38fd91e15a93eef96c67a5834fc9a78 Mon Sep 17 00:00:00 2001 +From: Waldemar Brodkorb <[email protected]> +Date: Sat, 10 Jan 2026 12:25:30 +0100 +Subject: [PATCH] Makefile: don't clean menuselect + +Upstream: not applicable +Signed-off-by: Waldemar Brodkorb <[email protected]> +--- + 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 +Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot