Keep /usr/bin/python2.4 and make /usr/bin/python a link to it
This commit is contained in:
parent
9f0f3e5df4
commit
a94fefa316
@ -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 {} \; && \
|
||||
|
Loading…
Reference in New Issue
Block a user