diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-bsp/setserial | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-bsp/setserial')
-rw-r--r-- | meta/recipes-bsp/setserial/setserial/add_stdlib.patch | 18 | ||||
-rw-r--r-- | meta/recipes-bsp/setserial/setserial_2.17.bb | 26 |
2 files changed, 44 insertions, 0 deletions
diff --git a/meta/recipes-bsp/setserial/setserial/add_stdlib.patch b/meta/recipes-bsp/setserial/setserial/add_stdlib.patch new file mode 100644 index 0000000000..e34f262a89 --- /dev/null +++ b/meta/recipes-bsp/setserial/setserial/add_stdlib.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | # This patch addes stdlib.h to fix compiler warnings due to the exit | ||
2 | # built-in not being defined and getting an incorrect implicit definition | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Created-by: Saul Wold <saul.wold@intel.com> | ||
7 | |||
8 | --- setserial-2.17/setserial.c 2010-09-02 14:11:27.569763088 -0700 | ||
9 | +++ setserial-2.17_fixed/setserial.c 2010-09-02 14:11:08.546264139 -0700 | ||
10 | @@ -11,6 +11,7 @@ | ||
11 | */ | ||
12 | |||
13 | #include <stdio.h> | ||
14 | +#include <stdlib.h> | ||
15 | #include <fcntl.h> | ||
16 | #include <termios.h> | ||
17 | #include <string.h> | ||
18 | |||
diff --git a/meta/recipes-bsp/setserial/setserial_2.17.bb b/meta/recipes-bsp/setserial/setserial_2.17.bb new file mode 100644 index 0000000000..65d6068d15 --- /dev/null +++ b/meta/recipes-bsp/setserial/setserial_2.17.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SUMMARY = "Controls the configuration of serial ports" | ||
2 | DESCRIPTION = "setserial is a program designed to set and/or report the configuration information associated with a serial port" | ||
3 | HOMEPAGE = "http://setserial.sourceforge.net" | ||
4 | AUTHOR = "Theodore Ts'o <tytso@mit.edu>" | ||
5 | SECTION = "console/utils" | ||
6 | |||
7 | LICENSE = "GPLv2.0" | ||
8 | LIC_FILES_CHKSUM = "file://version.h;beginline=1;endline=6;md5=2e7c59cb9e57e356ae81f50f4e4dfd99" | ||
9 | PR = "r3" | ||
10 | |||
11 | inherit autotools-brokensep | ||
12 | |||
13 | SRC_URI = "${SOURCEFORGE_MIRROR}/setserial/${BPN}-${PV}.tar.gz \ | ||
14 | file://add_stdlib.patch \ | ||
15 | " | ||
16 | |||
17 | SRC_URI[md5sum] = "c4867d72c41564318e0107745eb7a0f2" | ||
18 | SRC_URI[sha256sum] = "7e4487d320ac31558563424189435d396ddf77953bb23111a17a3d1487b5794a" | ||
19 | |||
20 | do_install() { | ||
21 | install -d ${D}${bindir} | ||
22 | install -d ${D}${mandir}/man8 | ||
23 | |||
24 | install -m 0755 ${S}/setserial ${D}${bindir} | ||
25 | install -m 0644 ${S}/setserial.8 ${D}${mandir}/man8 | ||
26 | } | ||