diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch b/meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch new file mode 100644 index 0000000000..03ef286941 --- /dev/null +++ b/meta/recipes-devtools/python/python3/020-dont-compile-python-files.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | Dont cross compile site packages | ||
2 | |||
3 | -Khem | ||
4 | |||
5 | Upstream-Status: Inappropriate[Embedded-Specific] | ||
6 | |||
7 | --- | ||
8 | Makefile.pre.in | 16 ---------------- | ||
9 | 1 file changed, 16 deletions(-) | ||
10 | |||
11 | --- a/Makefile.pre.in | ||
12 | +++ b/Makefile.pre.in | ||
13 | @@ -1078,24 +1078,6 @@ libinstall: build_all $(srcdir)/Lib/$(PL | ||
14 | $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ | ||
15 | $(DESTDIR)$(LIBDEST)/distutils/tests ; \ | ||
16 | fi | ||
17 | - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
18 | - $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
19 | - -d $(LIBDEST) -f \ | ||
20 | - -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ | ||
21 | - $(DESTDIR)$(LIBDEST) | ||
22 | - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
23 | - $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
24 | - -d $(LIBDEST) -f \ | ||
25 | - -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ | ||
26 | - $(DESTDIR)$(LIBDEST) | ||
27 | - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
28 | - $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
29 | - -d $(LIBDEST)/site-packages -f \ | ||
30 | - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages | ||
31 | - -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
32 | - $(PYTHON_FOR_BUILD) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ | ||
33 | - -d $(LIBDEST)/site-packages -f \ | ||
34 | - -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages | ||
35 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||
36 | $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST)/lib2to3/Grammar.txt | ||
37 | -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | ||