mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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. (From OE-Core rev: 54da47f3ddc1c009594744793060ffd09db3ad11) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
729 B
Diff
20 lines
729 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
|
|
@@ -1008,7 +1008,7 @@ LIBPL= $(LIBP)/config
|
|
LIBPC= $(LIBDIR)/pkgconfig
|
|
|
|
libainstall: all 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"; \
|