mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
Rebased: - python/01-use-proper-tools-for-cross-build.patch - python/fix-makefile-for-ptest.patch - python/parallel-makeinst-create-bindir.patch Removed Upstreamed Patch: - python/Don-t-use-getentropy-on-Linux.patch Updated license checksum for changes in the copyright date. The license terms remain unchanged Added an extra do_compile item to create the native pgen that no longer gets compiled by default (From OE-Core rev: 9f2de4f9cf1eb6de75dc789bd0549f45c7a68c55) Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
722 B
Diff
20 lines
722 B
Diff
When using make -j with the 'install' target, it's possible for altbininstall
|
|
(which normally creates BINDIR) and libainstall (which doesn't, though it
|
|
installs python-config there) to race, resulting in a failure due to
|
|
attempting to install python-config into a nonexistent BINDIR. Ensure it also
|
|
exists in the libainstall target.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
--- Python-2.7.3.orig/Makefile.pre.in
|
|
+++ Python-2.7.3/Makefile.pre.in
|
|
@@ -1187,7 +1187,7 @@
|
|
LIBPC= $(LIBDIR)/pkgconfig
|
|
|
|
libainstall: @DEF_MAKE_RULE@ python-config
|
|
- @for i in $(LIBDIR) $(LIBP) $(LIBPL) $(LIBPC); \
|
|
+ @for i in $(LIBDIR) $(LIBP) $(LIBPL) $(LIBPC) $(BINDIR); \
|
|
do \
|
|
if test ! -d $(DESTDIR)$$i; then \
|
|
echo "Creating directory $$i"; \
|