2017-03-08 00:00:26 +01:00
|
|
|
From bddfcbb8a4c011ca2fe471f7a4124cd64b5b0f00 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Samuel Martin <s.martin49@gmail.com>
|
|
|
|
Date: Tue, 7 Mar 2017 22:23:58 +0100
|
|
|
|
Subject: [PATCH] Remove the python symlink install rules
|
2014-03-05 23:04:40 +01:00
|
|
|
|
2017-03-08 00:00:26 +01:00
|
|
|
The python symlink installation will be handled by Buildroot itself,
|
|
|
|
because Buildroot needs to control to what python interpreter (python2
|
|
|
|
or python3) the python symlink points to.
|
2014-03-05 23:04:40 +01:00
|
|
|
|
|
|
|
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
2017-03-08 00:00:26 +01:00
|
|
|
[Bernd: rebased against version 2.7.12.]
|
2016-06-29 20:48:31 +02:00
|
|
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
2017-03-08 00:00:26 +01:00
|
|
|
---
|
|
|
|
Makefile.pre.in | 7 -------
|
|
|
|
1 file changed, 7 deletions(-)
|
2014-03-05 23:04:40 +01:00
|
|
|
|
2017-03-08 00:00:26 +01:00
|
|
|
diff --git a/Makefile.pre.in b/Makefile.pre.in
|
|
|
|
index beb0837..dedcf61 100644
|
2014-06-28 23:52:21 +02:00
|
|
|
--- a/Makefile.pre.in
|
|
|
|
+++ b/Makefile.pre.in
|
2017-03-08 00:00:26 +01:00
|
|
|
@@ -968,17 +968,10 @@ bininstall: altbininstall
|
2016-06-29 20:48:31 +02:00
|
|
|
echo "Creating directory $(LIBPC)"; \
|
|
|
|
$(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC); \
|
|
|
|
fi
|
2014-03-05 23:04:40 +01:00
|
|
|
- -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PYTHON); \
|
|
|
|
- then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \
|
|
|
|
- else true; \
|
|
|
|
- fi
|
2016-06-30 06:51:51 +02:00
|
|
|
- (cd $(DESTDIR)$(BINDIR); $(LN) -s python2$(EXE) $(PYTHON))
|
2014-03-05 23:04:40 +01:00
|
|
|
-rm -f $(DESTDIR)$(BINDIR)/python2$(EXE)
|
|
|
|
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)$(EXE) python2$(EXE))
|
|
|
|
-rm -f $(DESTDIR)$(BINDIR)/python2-config
|
|
|
|
(cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python2-config)
|
|
|
|
- -rm -f $(DESTDIR)$(BINDIR)/python-config
|
|
|
|
- (cd $(DESTDIR)$(BINDIR); $(LN) -s python2-config python-config)
|
|
|
|
-test -d $(DESTDIR)$(LIBPC) || $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(LIBPC)
|
|
|
|
-rm -f $(DESTDIR)$(LIBPC)/python2.pc
|
|
|
|
(cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc)
|
2017-03-08 00:00:26 +01:00
|
|
|
--
|
|
|
|
2.7.4
|
|
|
|
|