Patchwork [meta-networking] sethdlc : add recipe

login
register
mail settings
Submitter chunrong guo
Date March 20, 2014, 7:44 a.m.
Message ID <1395301457-20665-1-git-send-email-b40290@freescale.com>
Download mbox | patch
Permalink /patch/68919/
State New, archived
Headers show

Comments

chunrong guo - March 20, 2014, 7:44 a.m.
From: Chunrong Guo <B40290@freescale.com>

   * sethdlc: get/set Linux HDLC packet radio modem driver port information
   * sethdlc is  a  program designed to set and/or report the configuration
     information associated with a soundcard radio modem port. This information
     includes  the  modem type, what I/O port, IRQ and DMA channel a particular
     modem port is using, and where to output a transmitter  keying (PTT) signal.

Signed-off-by: Chunrong Guo <B40290@freescale.com>
---
 .../recipes-connectivity/sethdlc/sethdlc.bb        | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
Joe MacDonald - March 27, 2014, 8:27 p.m.
Merged, thanks.
-J.

[[oe] [meta-networking][PATCH ] sethdlc : add recipe] On 14.03.20 (Thu 15:44) b40290@freescale.com wrote:

> From: Chunrong Guo <B40290@freescale.com>
> 
>    * sethdlc: get/set Linux HDLC packet radio modem driver port information
>    * sethdlc is  a  program designed to set and/or report the configuration
>      information associated with a soundcard radio modem port. This information
>      includes  the  modem type, what I/O port, IRQ and DMA channel a particular
>      modem port is using, and where to output a transmitter  keying (PTT) signal.
> 
> Signed-off-by: Chunrong Guo <B40290@freescale.com>
> ---
>  .../recipes-connectivity/sethdlc/sethdlc.bb        | 30 ++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>  create mode 100644 meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
> 
> diff --git a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
> new file mode 100644
> index 0000000..3a9692f
> --- /dev/null
> +++ b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
> @@ -0,0 +1,30 @@
> +DESCRIPTION = "set Linux HDLC packet radio modem driver port information"
> +HOMEPAGE = "https://www.kernel.org/pub/linux/utils/net/hdlc"
> +LICENSE = "GPLv2 & GPLv2+ "
> +LIC_FILES_CHKSUM = "file://Makefile;md5=19aada31930b2be84bf7138420d77263"
> +
> +
> +SRC_URI = "https://www.kernel.org/pub/linux/utils/net/hdlc/${BPN}-1.18.tar.gz \
> +"
> +SRC_URI[md5sum] = "9016878156a5eadb06c0bae71cc5c9ab"
> +SRC_URI[sha256sum] = "21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6ab6b04e"
> +
> +
> +S = "${WORKDIR}/${BPN}-1.18"
> +
> +DEPENDS="virtual/kernel"
> +
> +EXTRA_OEMAKE="CROSS_COMPILE=${TARGET_PREFIX} CC='${CC} ${LDFLAGS}' \
> +              KERNEL_DIR=${STAGING_KERNEL_DIR} "
> +
> +do_compile_prepend () {
> +    oe_runmake clean
> +}
> +
> +
> +do_install() {
> +    install -d ${D}/${bindir}
> +    install sethdlc ${D}/${bindir}/
> +}
> +
> +FILES_${PN} += "${bindir}/sethdlc"
> -- 
> 1.8.3.2
> 
>

Patch

diff --git a/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
new file mode 100644
index 0000000..3a9692f
--- /dev/null
+++ b/meta-networking/recipes-connectivity/sethdlc/sethdlc.bb
@@ -0,0 +1,30 @@ 
+DESCRIPTION = "set Linux HDLC packet radio modem driver port information"
+HOMEPAGE = "https://www.kernel.org/pub/linux/utils/net/hdlc"
+LICENSE = "GPLv2 & GPLv2+ "
+LIC_FILES_CHKSUM = "file://Makefile;md5=19aada31930b2be84bf7138420d77263"
+
+
+SRC_URI = "https://www.kernel.org/pub/linux/utils/net/hdlc/${BPN}-1.18.tar.gz \
+"
+SRC_URI[md5sum] = "9016878156a5eadb06c0bae71cc5c9ab"
+SRC_URI[sha256sum] = "21b1e2e1cb0e288b0ec8fcfd9fed449914e0f8e6fc273706bd5b3d4f6ab6b04e"
+
+
+S = "${WORKDIR}/${BPN}-1.18"
+
+DEPENDS="virtual/kernel"
+
+EXTRA_OEMAKE="CROSS_COMPILE=${TARGET_PREFIX} CC='${CC} ${LDFLAGS}' \
+              KERNEL_DIR=${STAGING_KERNEL_DIR} "
+
+do_compile_prepend () {
+    oe_runmake clean
+}
+
+
+do_install() {
+    install -d ${D}/${bindir}
+    install sethdlc ${D}/${bindir}/
+}
+
+FILES_${PN} += "${bindir}/sethdlc"