summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-04-13 06:56:50 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-06 07:30:14 (GMT)
commit2f40b6ae2b27486af2deb999385e3d7f034e4bd5 (patch)
treead2c0397ff4cdb268e60234089bac6325d89b5bb
parent378ceef8c9ad36a93cc835e617ce3583affba06b (diff)
downloadbuildroot-2f40b6ae2b27486af2deb999385e3d7f034e4bd5.tar.gz
buildroot-2f40b6ae2b27486af2deb999385e3d7f034e4bd5.tar.bz2
python-serial: fix shebang
Add the --executable shebang fixup option to the build phase so that the script ends with a proper #!/usr/bin/python interpeter line set. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/python-serial/python-serial.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/python-serial/python-serial.mk b/package/python-serial/python-serial.mk
index fb6b31c..4bfc355 100644
--- a/package/python-serial/python-serial.mk
+++ b/package/python-serial/python-serial.mk
@@ -6,12 +6,12 @@
PYTHON_SERIAL_VERSION = 2.6
PYTHON_SERIAL_SOURCE = pyserial-$(PYTHON_SERIAL_VERSION).tar.gz
-PYTHON_SERIAL_SITE = http://pypi.python.org/packages/source/p/pyserial/
+PYTHON_SERIAL_SITE = http://pypi.python.org/packages/source/p/pyserial
PYTHON_SERIAL_DEPENDENCIES = python
define PYTHON_SERIAL_BUILD_CMDS
- (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build)
+ (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py build --executable=/usr/bin/python)
endef
define PYTHON_SERIAL_INSTALL_TARGET_CMDS