Patchwork python: uses fork(), only available on MMU platforms

login
register
mail settings
Submitter Maxime Ripard
Date Nov. 17, 2012, 8:12 a.m.
Message ID <1353139970-25414-1-git-send-email-maxime.ripard@free-electrons.com>
Download mbox | patch
Permalink /patch/199821/
State Accepted
Commit 7bf219a900d3070e8e954617131f54210825419f
Headers show

Comments

Maxime Ripard - Nov. 17, 2012, 8:12 a.m.
Fixes
http://autobuild.buildroot.org/results/1738a8b09b04d2b2fc1de6d1ff5eb0363fed6348/build-end.log

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 package/python/Config.in |    2 ++
 1 file changed, 2 insertions(+)
Peter Korsgaard - Nov. 17, 2012, 8:31 a.m.
>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:

 Maxime> Fixes
 Maxime> http://autobuild.buildroot.org/results/1738a8b09b04d2b2fc1de6d1ff5eb0363fed6348/build-end.log

Committed, thanks. What about python3?
Maxime Ripard - Nov. 17, 2012, 8:38 a.m.
Le 17/11/2012 09:31, Peter Korsgaard a écrit :
>>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:
> 
>  Maxime> Fixes
>  Maxime> http://autobuild.buildroot.org/results/1738a8b09b04d2b2fc1de6d1ff5eb0363fed6348/build-end.log
> 
> Committed, thanks. What about python3?
> 
Ah, yes
Same thing for python3. I send a patch for that

Maxime

Patch

diff --git a/package/python/Config.in b/package/python/Config.in
index 11aa267..4089cce 100644
--- a/package/python/Config.in
+++ b/package/python/Config.in
@@ -1,6 +1,8 @@ 
 config BR2_PACKAGE_PYTHON
 	bool "python"
 	depends on BR2_USE_WCHAR
+	# uses fork()
+	depends on BR2_USE_MMU
 	select BR2_PACKAGE_LIBFFI
 	help
 	  The python language interpreter.