[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.2-5-g123be85
Brought to you by:
sszy
|
From: Fabien M <fa...@us...> - 2012-10-16 11:58:32
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 123be850730ad3c1823c496b36ab41f289f1800d (commit)
from 6f51bfa3d62232aabcb09dbb814c7e77d8535e5b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 123be850730ad3c1823c496b36ab41f289f1800d
Author: Fabien Marteau <fab...@ar...>
Date: Tue Oct 16 13:57:37 2012 +0200
[buildroot][package] adding python-crc16 module
-----------------------------------------------------------------------
Summary of changes:
.../2012.02/196-python-crc16-add_package.patch | 58 ++++++++++++++++++++
patches/buildroot/2012.02/cleanup_buildroot.sh | 1 +
2 files changed, 59 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/2012.02/196-python-crc16-add_package.patch
diff --git a/patches/buildroot/2012.02/196-python-crc16-add_package.patch b/patches/buildroot/2012.02/196-python-crc16-add_package.patch
new file mode 100644
index 0000000..7a657d9
--- /dev/null
+++ b/patches/buildroot/2012.02/196-python-crc16-add_package.patch
@@ -0,0 +1,58 @@
+Adding python module crc16
+
+Signed-off-by: Fabien Marteau <fab...@ar...>
+---
+Index: buildroot/package/Config.in
+===================================================================
+--- buildroot.orig/package/Config.in 2012-10-16 13:51:37.000000000 +0200
++++ buildroot/package/Config.in 2012-10-16 13:52:57.000000000 +0200
+@@ -273,6 +273,7 @@
+ source "package/python/Config.in"
+ if BR2_PACKAGE_PYTHON
+ menu "external python modules"
++source "package/python-crc16/Config.in"
+ source "package/python-dpkt/Config.in"
+ source "package/python-mad/Config.in"
+ source "package/python-mysql/Config.in"
+Index: buildroot/package/python-crc16/Config.in
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/python-crc16/Config.in 2012-10-16 13:53:29.000000000 +0200
+@@ -0,0 +1,7 @@
++config BR2_PACKAGE_PYTHON_CRC16
++ bool "python-crc16"
++ depends on BR2_PACKAGE_PYTHON
++ help
++ calculate crc16
++
++ http://code.google.com/p/pycrc16/
+Index: buildroot/package/python-crc16/python-crc16.mk
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/python-crc16/python-crc16.mk 2012-10-16 13:53:29.000000000 +0200
+@@ -0,0 +1,25 @@
++#############################################################
++#
++# python-serial
++#
++#############################################################
++
++PYTHON_CRC16_VERSION =0.1.1
++PYTHON_CRC16_SOURCE =crc16-$(PYTHON_CRC16_VERSION).tar.gz
++PYTHON_CRC16_SITE =http://pycrc16.googlecode.com/files/
++
++PYTHON_CRC16_DEPENDENCIES = python
++
++define PYTHON_CRC16_BUILD_CMDS
++ (cd $(@D); \
++ $(TARGET_CONFIGURE_OPTS) \
++ CFLAGS="$(TARGET_CFLAGS)" \
++ LDSHARED="$(TARGET_CROSS)gcc -shared" \
++ $(HOST_DIR)/usr/bin/python setup.py build)
++endef
++
++define PYTHON_CRC16_INSTALL_TARGET_CMDS
++ (cd $(@D); $(HOST_DIR)/usr/bin/python setup.py install --prefix=$(TARGET_DIR)/usr)
++endef
++
++$(eval $(call GENTARGETS))
diff --git a/patches/buildroot/2012.02/cleanup_buildroot.sh b/patches/buildroot/2012.02/cleanup_buildroot.sh
index 4f83c77..5ee2d9c 100755
--- a/patches/buildroot/2012.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2012.02/cleanup_buildroot.sh
@@ -28,6 +28,7 @@ rm -rf buildroot/package/sdl/
rm -rf buildroot/package/sdlwater/
rm -rf buildroot/package/slideshow/
rm -rf buildroot/package/python-mysql/
+rm -rf buildroot/package/python-crc16/
rm -rf buildroot/package/socketcan/
rm -rf buildroot/package/lcd4linux/
rm -rf buildroot/package/mesa/
hooks/post-receive
--
armadeus
|