[Armadeus-commitlog] armadeus branch, buildroot-update, updated. armadeus-6.0-183-ge499baf
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2017-01-30 14:37:14
|
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, buildroot-update has been updated
via e499baffe425eb9d9e2bd3a184bd443d25b7504c (commit)
from 0a18caea97cd5e075bf83f017d4809202a6eb626 (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 e499baffe425eb9d9e2bd3a184bd443d25b7504c
Author: Julien BOIBESSOT <jul...@ar...>
Date: Mon Jan 30 15:36:34 2017 +0100
[BUILDROOT] 2016.08: add cmux package
-----------------------------------------------------------------------
Summary of changes:
.../2016.08/019-armadeus-add-cmux-package.patch | 76 ++++++++++++++++++++
patches/buildroot/2016.08/cleanup_buildroot.sh | 3 +
2 files changed, 79 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/2016.08/019-armadeus-add-cmux-package.patch
diff --git a/patches/buildroot/2016.08/019-armadeus-add-cmux-package.patch b/patches/buildroot/2016.08/019-armadeus-add-cmux-package.patch
new file mode 100644
index 0000000..8753a5d
--- /dev/null
+++ b/patches/buildroot/2016.08/019-armadeus-add-cmux-package.patch
@@ -0,0 +1,76 @@
+Index: buildroot/package/Config.in
+===================================================================
+--- buildroot.orig/package/Config.in
++++ buildroot/package/Config.in
+@@ -1185,6 +1185,7 @@ menu "Networking"
+ source "package/c-ares/Config.in"
+ source "package/canfestival/Config.in"
+ source "package/cgic/Config.in"
++ source "package/cmux/Config.in"
+ source "package/cppzmq/Config.in"
+ source "package/czmq/Config.in"
+ source "package/filemq/Config.in"
+Index: buildroot/package/cmux/Config.in
+===================================================================
+--- /dev/null
++++ buildroot/package/cmux/Config.in
+@@ -0,0 +1,20 @@
++config BR2_PACKAGE_CMUX
++ bool "cmux"
++ help
++ This program enables GSM 0710 multiplexing using linux n_gsm line
++ dicipline.
++
++ In order to activate the CMUX mode the program sends some AT
++ commands. Theses commands are mainly vendor specific and should be
++ adapted to your own modem. The example in this code works for the
++ Quectel M95 GSM module.
++
++ https://github.com/Rtone/cmux
++
++if BR2_PACKAGE_CMUX
++
++config BR2_PACKAGE_CMUX_SERIAL_PORT
++ string "UART port of GSM"
++ default "/dev/ttymxc1"
++
++endif
+Index: buildroot/package/cmux/cmux.hash
+===================================================================
+--- /dev/null
++++ buildroot/package/cmux/cmux.hash
+@@ -0,0 +1,2 @@
++# locally computed
++sha256 5a734dc679770fac95f75d15f8f5373fc7ce6ab90a6c4b69ca742ac63327b14c cmux-ee6c2d6bd9f16ef5b407047879b9ccffa7c82c78.tar.gz
+Index: buildroot/package/cmux/cmux.mk
+===================================================================
+--- /dev/null
++++ buildroot/package/cmux/cmux.mk
+@@ -0,0 +1,27 @@
++################################################################################
++#
++# cmux
++#
++################################################################################
++
++CMUX_VERSION = ee6c2d6bd9f16ef5b407047879b9ccffa7c82c78
++CMUX_SITE = $(call github,Rtone,cmux,$(CMUX_VERSION))
++CMUX_LICENSE = GPLv3+
++CMUX_LICENSE_FILES = cmux.c
++
++define CMUX_CONFIGURE_TTY_PORT
++ $(SED) 's|/dev/ttyS1|$(call qstrip,$(BR2_PACKAGE_CMUX_SERIAL_PORT))|' $(@D)/cmux.c
++endef
++ifneq ($(BR2_PACKAGE_CMUX_SERIAL_PORT),)
++CMUX_POST_EXTRACT_HOOKS += CMUX_CONFIGURE_TTY_PORT
++endif
++
++define CMUX_BUILD_CMDS
++ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
++endef
++
++define CMUX_INSTALL_TARGET_CMDS
++ $(INSTALL) -m 0755 -D $(@D)/cmux $(TARGET_DIR)/usr/bin/cmux
++endef
++
++$(eval $(generic-package))
diff --git a/patches/buildroot/2016.08/cleanup_buildroot.sh b/patches/buildroot/2016.08/cleanup_buildroot.sh
index 8c0fef8..fa20958 100755
--- a/patches/buildroot/2016.08/cleanup_buildroot.sh
+++ b/patches/buildroot/2016.08/cleanup_buildroot.sh
@@ -28,6 +28,9 @@ rm -rf buildroot/package/busybox/0006-rfkill-build.patch
rm -rf buildroot/package/busybox/busybox.mk
rm -rf buildroot/package/can-utils/can-utils.hash
rm -rf buildroot/package/can-utils/can-utils.mk
+rm -rf buildroot/package/cmux/Config.in
+rm -rf buildroot/package/cmux/cmux.hash
+rm -rf buildroot/package/cmux/cmux.mk
rm -rf buildroot/package/cunit/Config.in
rm -rf buildroot/package/cunit/cunit.mk
rm -rf buildroot/package/e-uae/Config.in
hooks/post-receive
--
armadeus
|