summaryrefslogtreecommitdiff
path: root/import-layers/yocto-poky/meta/recipes-bsp/setserial
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-bsp/setserial')
-rw-r--r--import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial/add_stdlib.patch18
-rw-r--r--import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial/ldflags.patch24
-rw-r--r--import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial_2.17.bb29
3 files changed, 0 insertions, 71 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial/add_stdlib.patch b/import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial/add_stdlib.patch
deleted file mode 100644
index e34f262a8..000000000
--- a/import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial/add_stdlib.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-# This patch addes stdlib.h to fix compiler warnings due to the exit
-# built-in not being defined and getting an incorrect implicit definition
-
-Upstream-Status: Pending
-
-Created-by: Saul Wold <saul.wold@intel.com>
-
---- setserial-2.17/setserial.c 2010-09-02 14:11:27.569763088 -0700
-+++ setserial-2.17_fixed/setserial.c 2010-09-02 14:11:08.546264139 -0700
-@@ -11,6 +11,7 @@
- */
-
- #include <stdio.h>
-+#include <stdlib.h>
- #include <fcntl.h>
- #include <termios.h>
- #include <string.h>
-
diff --git a/import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial/ldflags.patch b/import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial/ldflags.patch
deleted file mode 100644
index 174adc89f..000000000
--- a/import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial/ldflags.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Obey LDFLAGS
-
-Signed-off-by: Christopher Larson <chris_larson@mentor.com>
-Upstream-Status: Pending
-
---- setserial-2.17.orig/Makefile.in
-+++ setserial-2.17/Makefile.in
-@@ -13,6 +13,7 @@ STRIP = @STRIP@
- CC = @CC@
- RM = rm -f
- CFLAGS = @CFLAGS@
-+LDFLAGS = @LDFLAGS@
- DEFS = @DEFS@
- INCS = -I.
- TAR = tar
-@@ -20,7 +21,7 @@ TAR = tar
- all: setserial setserial.cat
-
- setserial: setserial.c
-- $(CC) $(CFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(DEFS) $(INCS) setserial.c -o setserial
-
- setserial.cat: setserial.8
- nroff -man setserial.8 > setserial.cat
diff --git a/import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial_2.17.bb b/import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial_2.17.bb
deleted file mode 100644
index 8dbddd7dc..000000000
--- a/import-layers/yocto-poky/meta/recipes-bsp/setserial/setserial_2.17.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-SUMMARY = "Controls the configuration of serial ports"
-DESCRIPTION = "setserial is a program designed to set and/or report the configuration information associated with a serial port"
-HOMEPAGE = "http://setserial.sourceforge.net"
-AUTHOR = "Theodore Ts'o <tytso@mit.edu>"
-SECTION = "console/utils"
-
-LICENSE = "GPLv2.0"
-LIC_FILES_CHKSUM = "file://version.h;beginline=1;endline=6;md5=2e7c59cb9e57e356ae81f50f4e4dfd99"
-PR = "r3"
-
-DEPENDS += "groff-native"
-
-inherit autotools-brokensep
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \
- file://add_stdlib.patch \
- file://ldflags.patch \
- "
-
-SRC_URI[md5sum] = "c4867d72c41564318e0107745eb7a0f2"
-SRC_URI[sha256sum] = "7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a"
-
-do_install() {
- install -d ${D}${bindir}
- install -d ${D}${mandir}/man8
-
- install -m 0755 ${S}/setserial ${D}${bindir}
- install -m 0644 ${S}/setserial.8 ${D}${mandir}/man8
-}