summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch')
-rw-r--r--meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch b/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
index e795a74b91..7d8e95fe5c 100644
--- a/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
+++ b/meta/recipes-devtools/python/python/01-use-proper-tools-for-cross-build.patch
@@ -16,14 +16,6 @@ Index: Python-2.7.13/Makefile.pre.in
16=================================================================== 16===================================================================
17--- Python-2.7.13.orig/Makefile.pre.in 17--- Python-2.7.13.orig/Makefile.pre.in
18+++ Python-2.7.13/Makefile.pre.in 18+++ Python-2.7.13/Makefile.pre.in
19@@ -245,6 +245,7 @@ LIBFFI_INCLUDEDIR= @LIBFFI_INCLUDEDIR@
20 ##########################################################################
21 # Parser
22 PGEN= Parser/pgen$(EXE)
23+HOSTPGEN= $(PGEN)$(EXE)
24
25 PSRCS= \
26 Parser/acceler.c \
27@@ -512,7 +513,7 @@ $(BUILDPYTHON): Modules/python.o $(LIBRA 19@@ -512,7 +513,7 @@ $(BUILDPYTHON): Modules/python.o $(LIBRA
28 $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) 20 $(BLDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
29 21
@@ -33,15 +25,6 @@ Index: Python-2.7.13/Makefile.pre.in
33 25
34 # Create build directory and generate the sysconfig build-time data there. 26 # Create build directory and generate the sysconfig build-time data there.
35 # pybuilddir.txt contains the name of the build dir and is used for 27 # pybuilddir.txt contains the name of the build dir and is used for
36@@ -663,7 +663,7 @@
37 # Regenerate Include/graminit.h and Python/graminit.c
38 # from Grammar/Grammar using pgen
39 @$(MKDIR_P) Include
40- $(PGEN) $(srcdir)/Grammar/Grammar \
41+ $(HOSTPGEN) $(srcdir)/Grammar/Grammar \
42 $(srcdir)/Include/graminit.h \
43 $(srcdir)/Python/graminit.c
44
45@@ -1121,27 +1122,27 @@ libinstall: build_all $(srcdir)/Lib/$(PL 28@@ -1121,27 +1122,27 @@ libinstall: build_all $(srcdir)/Lib/$(PL
46 $(DESTDIR)$(LIBDEST)/distutils/tests ; \ 29 $(DESTDIR)$(LIBDEST)/distutils/tests ; \
47 fi 30 fi