Skip to contentSkip to conversation

espeak : depends on MMU

PATCH New arnaud at intelibre.fr 2 participants 2 messages Aug 11, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 espeak : depends on MMU

From: Arnaud Aujon <[email protected]>

Fixes http://autobuild.buildroot.net/results/dae/dae5c59dfa127e1c3f9e3885cdd1b97e54d8fe41/
and http://autobuild.buildroot.net/results/fa0/fa04a0fe7d7a201c5f733bd798c0da50ffb81271/
espeak uses fork(), don't work on non-MMU platforms

---
Changes v1 -> v2
- Move comment to head of file

---
 package/espeak/Config.in | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
package/espeak/Config.in +6 -4
index ec81893..e57f0c7 100644
@@ -1,11 +1,13 @@
 comment "espeak needs a toolchain w/ C++, wchar, threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+        depends on BR2_USE_MMU
 
 config BR2_PACKAGE_ESPEAK
 	bool "espeak"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU # fork()
 	help
 	  espeak is a speech synthesizer software for English and
 	  other languages.
@@ -26,14 +28,14 @@ config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
 	select BR2_PACKAGE_PORTAUDIO
 	select BR2_PACKAGE_PORTAUDIO_CXX
 
-comment "pulseaudio backend needs a toolchain with largefile"
-	depends on !BR2_LARGEFILE
-
 config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
 	bool "pulseaudio"
 	select BR2_PACKAGE_PULSEAUDIO
 	depends on BR2_LARGEFILE # pulseaudio
 
+comment "pulseaudio backend needs a toolchain with largefile"
+        depends on !BR2_LARGEFILE
+
 endchoice
 
 endif # BR2_PACKAGE_ESPEAK
Signature · 1 line
1.9.3
#1 lore raw

PATCH v2 1/1 espeak : depends on MMU

Quoted 21 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"arnaud" == arnaud <[email protected]> writes:

From: Arnaud Aujon <[email protected]>
Fixes http://autobuild.buildroot.net/results/dae/dae5c59dfa127e1c3f9e3885cdd1b97e54d8fe41/
and http://autobuild.buildroot.net/results/fa0/fa04a0fe7d7a201c5f733bd798c0da50ffb81271/
espeak uses fork(), don't work on non-MMU platforms

---
Changes v1 -> v2
- Move comment to head of file

---
 package/espeak/Config.in | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
package/espeak/Config.in +0 -0
index ec81893..e57f0c7 100644

package/espeak/Config.in line 3

Quoted 4 lines
package/espeak/Config.in +2 -1
@@ -1,11 +1,13 @@
 comment "espeak needs a toolchain w/ C++, wchar, threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
+        depends on BR2_USE_MMU

Config.in files should be indented with tabs, not spaces.

Committed with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard