projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f0f3e5
)
Keep /usr/bin/python2.4 and make /usr/bin/python a link to it
author
Hamish Moffatt
<hamish@cloud.net.au>
Mon, 8 Sep 2008 07:26:12 +0000
(07:26 -0000)
committer
Hamish Moffatt
<hamish@cloud.net.au>
Mon, 8 Sep 2008 07:26:12 +0000
(07:26 -0000)
package/python/python.mk
patch
|
blob
|
history
diff --git
a/package/python/python.mk
b/package/python/python.mk
index 919c932acf276118322eaeadfc5b1f2493803d29..af8069c0cf1854bdc8bb22f5ddedf9b75874f37e 100644
(file)
--- a/
package/python/python.mk
+++ b/
package/python/python.mk
@@
-132,7
+132,8
@@
endif
PYTHON_MODULES_LIB=$(STAGING_DIR)/lib \
PYTHON_DISABLE_MODULES="$(BR2_PYTHON_DISABLED_MODULES)" \
HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen && \
- rm $(TARGET_DIR)/usr/bin/python?.? && \
+ rm $(TARGET_DIR)/usr/bin/python && \
+ ln -s python$(PYTHON_VERSION_SHORT) $(TARGET_DIR)/usr/bin/python && \
rm $(TARGET_DIR)/usr/bin/idle && \
rm $(TARGET_DIR)/usr/bin/pydoc && \
find $(TARGET_DIR)/usr/lib/ -name '*.pyo' -exec rm {} \; && \