From patchwork Tue Sep 11 19:18:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 146482 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp3982132ljw; Tue, 11 Sep 2018 12:18:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZgZ8jGRj/a5S7dZU5smB6O7KT+wUP9C8/SfMToBOqN8s4ROPDe0oictxiPHwyRvWeQZMJh X-Received: by 2002:a17:902:3a2:: with SMTP id d31-v6mr28724483pld.287.1536693525371; Tue, 11 Sep 2018 12:18:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536693525; cv=none; d=google.com; s=arc-20160816; b=UolvNgk+FBwWsdUaoOP1LvdNWS5Aoye3n3IMYc98YJEHgHmbHBgKELOaULARYBizW/ 8vHei44uNKWjRgItrrLGn6fMNhK87sTKPtFV33MKQCqyXE14AUrQ0A0qIITYRgTDmPnl UWqqyWuLhF/Cax8gNLGLutDhCsiCBhPjLwuuGGB+3/FpSbur2SUVzIRIAIM4wAEZikDF ZlhBAg45emqjZs1wa0Oeq9Pm/kAIt0sr18ankvCis4JNuJFNriF4LGgy0vsSrTPmEily mUkEDf8I5knQC0r47P1KKAx6dOZyscJznIERBcA5aAxxjH/B9mBUz4SbmZhOw9CRSjkT Bl8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=Cf2wUFab/EUPm6HCgQ1i0gs5NAJ+2IsLKCIHTFMasfw=; b=B54bvC4SSLptKJmBUZoXxA2bbM8BmKuytP3rHEwK2im78lIlxxD0/umqoN3he5iuxH gI5PXEgWzuBlLidoDxg9PGZUEgvDh3d/+tdnBg/TVDy5L13TT+fW9r7uIrwKbMrx6zXp CUTgdnVg7MXIUJpq7+ufRFj73YNmc1wJzOWVMEZe82Hr61tcchOZg24VAxl5gyr6CMW2 Xn++bTzwyXGZdwnEL0IfKlAUv9+Yenywn8bki/Q5ypTfP7vTufvYnj1upLZDk6gSPrPj GNqnvpekU6Rpm85vaLoKZaBu/2o71o5+tglt1t+m+9cFasWRrBOTiiuwLErJ2yM7Bniu ZlUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KXneij1f; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id e4-v6si22094405pgk.630.2018.09.11.12.18.44; Tue, 11 Sep 2018 12:18:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=KXneij1f; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id B9A0879650; Tue, 11 Sep 2018 19:18:42 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mail.openembedded.org (Postfix) with ESMTP id BC1D27964B for ; Tue, 11 Sep 2018 19:18:41 +0000 (UTC) Received: by mail-pf1-f177.google.com with SMTP id b11-v6so12714026pfo.3 for ; Tue, 11 Sep 2018 12:18:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ULqmwCBHzT3+zrGLf0S0e2Eq9EFq+tY7lvBT/4BG5NQ=; b=KXneij1fi4yXGn9UVwbs6ip10W+OPlaM78cAc/pJa3B03uRWlHzBFfehtuS5/D/kem nX0Zsdy77XRF2OJ7s5kEEeqOKpwa4+oV4CrQfPvTcF4g5KnE9Gfd9owY1Kk9JrtquCoz ArJb+Hq2S/YI5PHnv423JU6YKTSKv1is0lD337n370bDeaXezykKsNTx+7p8SAz0fxjf 7Y2iwE+wT59Dgq1emZWkM8mtqd483JYe6gB5et47/yJHq5T5pYNCgULFJsq84Kr/sZTP dvZiKJk77uUyQeq1EAfFEaxSylcZ4jTm0dUxw8u63zZsqIKg77nwySUtLgLDKkwPdMbW drYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ULqmwCBHzT3+zrGLf0S0e2Eq9EFq+tY7lvBT/4BG5NQ=; b=WqqRO+/J3KHBjjl4j5GD+DF7yI9nOcB5YUOZ7r+a03mLZIzmFP1pDPjQObml+TFXmw 1jNKEBHtDSXVR33guUq0Bjeya4OXLLxOdBx5l6RYZCbzafK/s8ENhP2nvPdaRCFRiwpt xdUJ31GkVxHvGHASdSkeRXQQtg8UqEUlrKU+PDOPGarcXury0db0g6rtUew5C8NdEdLW MicSF5MwAgId/epwksQWaVvnFuAhcBR9G34T6fhs9Gzf54Yi0u4pSmteGhNNGAWbSJjL s6M0Iuv5SaPUjwFjDM9wBbZ9tJxa0DkKpqFBhT7NsFQPxXznn7NWLg6vtOeySbjdmtys V97Q== X-Gm-Message-State: APzg51Ck+Q75Z99yZh8gXmHHx+tABucc2O0MXyzpn3pZr1OPN1cm8/2O p3xPYLwWndPC4va7ubay/XZVtNEf X-Received: by 2002:a63:6501:: with SMTP id z1-v6mr29927167pgb.419.1536693522257; Tue, 11 Sep 2018 12:18:42 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::2887]) by smtp.gmail.com with ESMTPSA id a20-v6sm54026189pfc.14.2018.09.11.12.18.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Sep 2018 12:18:41 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 11 Sep 2018 12:18:33 -0700 Message-Id: <20180911191833.7675-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [OE-core] [PATCH V2] socat: Cache shift value for CRDLY, TABDLY and CSIZE X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Match it to definitions in arch//include/uapi/asm/termbits.h Signed-off-by: Khem Raj --- v2: Fix the ppc64 settings to match ppc .../recipes-connectivity/socat/socat_1.7.3.2.bb | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core 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" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://README;beginline=257;endline=287;md5=338c05eadd013872abb1d6e198e10a3f" - SRC_URI = "http://www.dest-unreach.org/socat/download/socat-${PV}.tar.bz2 \ file://Makefile.in-fix-for-parallel-build.patch \ file://0001-define-NETDB_INTERNAL-to-1-if-not-available.patch \ @@ -26,9 +25,23 @@ inherit autotools EXTRA_AUTORECONF += "--exclude=autoheader" EXTRA_OECONF += "ac_cv_have_z_modifier=yes \ - ac_cv_header_bsd_libutil_h=no \ + ac_cv_header_bsd_libutil_h=no \ + sc_cv_termios_ispeed=no \ + ${TERMBITS_SHIFTS} \ " +TERMBITS_SHIFTS ?= "sc_cv_sys_crdly_shift=9 \ + sc_cv_sys_tabdly_shift=11 \ + sc_cv_sys_csize_shift=4" + +TERMBITS_SHIFTS_powerpc = "sc_cv_sys_crdly_shift=12 \ + sc_cv_sys_tabdly_shift=10 \ + sc_cv_sys_csize_shift=8" + +TERMBITS_SHIFTS_powerpc64 = "sc_cv_sys_crdly_shift=12 \ + sc_cv_sys_tabdly_shift=10 \ + sc_cv_sys_csize_shift=8" + PACKAGECONFIG_class-target ??= "tcp-wrappers" PACKAGECONFIG ??= "" PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"