[Buildroot] svn commit: trunk/buildroot/package/python

hamish at uclibc.org hamish at uclibc.org
Mon Sep 8 07:26:13 UTC 2008


Author: hamish
Date: 2008-09-08 00:26:12 -0700 (Mon, 08 Sep 2008)
New Revision: 23359

Log:
Keep /usr/bin/python2.4 and make /usr/bin/python a link to it



Modified:
   trunk/buildroot/package/python/python.mk


Changeset:
Modified: trunk/buildroot/package/python/python.mk
===================================================================
--- trunk/buildroot/package/python/python.mk	2008-09-07 23:22:08 UTC (rev 23358)
+++ trunk/buildroot/package/python/python.mk	2008-09-08 07:26:12 UTC (rev 23359)
@@ -132,7 +132,8 @@
 		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 {} \; && \




More information about the buildroot mailing list