diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/use_packed_importlib.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/use_packed_importlib.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-devtools/python/python3/use_packed_importlib.patch b/meta/recipes-devtools/python/python3/use_packed_importlib.patch deleted file mode 100644 index 70708a0adc..0000000000 --- a/meta/recipes-devtools/python/python3/use_packed_importlib.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | |||
2 | Upstream-Status: Inappropriate [embedded specific] | ||
3 | |||
4 | The binary _freeze_importlib is built and also used during build time to generate | ||
5 | importlib*.h files, this is impossible to do on a cross-compile environment, | ||
6 | this avoids executing the binary and forces it to use the packed importlib*.h files. | ||
7 | |||
8 | |||
9 | Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | ||
10 | |||
11 | Index: Python-3.5.0/Makefile.pre.in | ||
12 | =================================================================== | ||
13 | --- Python-3.5.0.orig/Makefile.pre.in | ||
14 | +++ Python-3.5.0/Makefile.pre.in | ||
15 | @@ -700,12 +700,12 @@ Programs/_freeze_importlib.o: Programs/_ | ||
16 | Programs/_freeze_importlib: Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) | ||
17 | $(LINKCC) $(PY_LDFLAGS) -o $@ Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) | ||
18 | |||
19 | -Python/importlib_external.h: $(srcdir)/Lib/importlib/_bootstrap_external.py Programs/_freeze_importlib | ||
20 | - ./Programs/_freeze_importlib \ | ||
21 | +#Python/importlib_external.h: $(srcdir)/Lib/importlib/_bootstrap_external.py Programs/_freeze_importlib | ||
22 | +# ./Programs/_freeze_importlib \ | ||
23 | $(srcdir)/Lib/importlib/_bootstrap_external.py Python/importlib_external.h | ||
24 | |||
25 | -Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_importlib | ||
26 | - ./Programs/_freeze_importlib \ | ||
27 | +#Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_importlib | ||
28 | +# ./Programs/_freeze_importlib \ | ||
29 | $(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h | ||
30 | |||
31 | |||