summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-09-11 12:18:33 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-09-13 07:42:28 +0100
commit92bc2b3e84f71871878ae6137ae08af7cb981ed0 (patch)
tree1079339619eebae68d50f1f4b9d57a9357abf36d /meta
parent7118a4b7935b5c0bf7a9390da334e1f500e3a60d (diff)
downloadpoky-92bc2b3e84f71871878ae6137ae08af7cb981ed0.tar.gz
socat: Cache shift value for CRDLY, TABDLY and CSIZE
Match it to definitions in arch/<ARCH>/include/uapi/asm/termbits.h (From OE-Core rev: 3e222bf3e0631b385dc46b02b6ba890451c291b2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/socat/socat_1.7.3.2.bb17
1 files changed, 15 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/socat/socat_1.7.3.2.bb b/meta/recipes-connectivity/socat/socat_1.7.3.2.bb
index 4dcb7b4adc..927df7463a 100644
--- a/meta/recipes-connectivity/socat/socat_1.7.3.2.bb
+++ b/meta/recipes-connectivity/socat/socat_1.7.3.2.bb
@@ -11,7 +11,6 @@ LICENSE = "GPL-2.0+-with-OpenSSL-exception"
11LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ 11LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
12 file://README;beginline=257;endline=287;md5=338c05eadd013872abb1d6e198e10a3f" 12 file://README;beginline=257;endline=287;md5=338c05eadd013872abb1d6e198e10a3f"
13 13
14
15SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \ 14SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \
16 file://Makefile.in-fix-for-parallel-build.patch \ 15 file://Makefile.in-fix-for-parallel-build.patch \
17 file://0001-define-NETDB_INTERNAL-to-1-if-not-available.patch \ 16 file://0001-define-NETDB_INTERNAL-to-1-if-not-available.patch \
@@ -26,9 +25,23 @@ inherit autotools
26EXTRA_AUTORECONF += "--exclude=autoheader" 25EXTRA_AUTORECONF += "--exclude=autoheader"
27 26
28EXTRA_OECONF += "ac_cv_have_z_modifier=yes \ 27EXTRA_OECONF += "ac_cv_have_z_modifier=yes \
29 ac_cv_header_bsd_libutil_h=no \ 28 ac_cv_header_bsd_libutil_h=no \
29 sc_cv_termios_ispeed=no \
30 ${TERMBITS_SHIFTS} \
30" 31"
31 32
33TERMBITS_SHIFTS ?= "sc_cv_sys_crdly_shift=9 \
34 sc_cv_sys_tabdly_shift=11 \
35 sc_cv_sys_csize_shift=4"
36
37TERMBITS_SHIFTS_powerpc = "sc_cv_sys_crdly_shift=12 \
38 sc_cv_sys_tabdly_shift=10 \
39 sc_cv_sys_csize_shift=8"
40
41TERMBITS_SHIFTS_powerpc64 = "sc_cv_sys_crdly_shift=12 \
42 sc_cv_sys_tabdly_shift=10 \
43 sc_cv_sys_csize_shift=8"
44
32PACKAGECONFIG_class-target ??= "tcp-wrappers" 45PACKAGECONFIG_class-target ??= "tcp-wrappers"
33PACKAGECONFIG ??= "" 46PACKAGECONFIG ??= ""
34PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" 47PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"