From patchwork Thu Feb 16 11:48:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 94054 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp2465399qgi; Thu, 16 Feb 2017 03:48:34 -0800 (PST) X-Received: by 10.200.39.200 with SMTP id x8mr1437910qtx.159.1487245714242; Thu, 16 Feb 2017 03:48:34 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 10si5038622qtu.139.2017.02.16.03.48.33; Thu, 16 Feb 2017 03:48:34 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A28A963577; Thu, 16 Feb 2017 11:48:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 84C7860AF4; Thu, 16 Feb 2017 11:48:28 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 237DA60BE6; Thu, 16 Feb 2017 11:48:27 +0000 (UTC) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0111.outbound.protection.outlook.com [104.47.2.111]) by lists.linaro.org (Postfix) with ESMTPS id 20B8F60AC6 for ; Thu, 16 Feb 2017 11:48:25 +0000 (UTC) Received: from VI1PR07CA0083.eurprd07.prod.outlook.com (10.164.94.179) by HE1PR0701MB1739.eurprd07.prod.outlook.com (10.167.246.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.5; Thu, 16 Feb 2017 11:48:23 +0000 Received: from DB5EUR03FT037.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::205) by VI1PR07CA0083.outlook.office365.com (2a01:111:e400:5967::51) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.10 via Frontend Transport; Thu, 16 Feb 2017 11:48:23 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.38 as permitted sender) Received: from hybrid2.ext.net.nokia.com (131.228.2.38) by DB5EUR03FT037.mail.protection.outlook.com (10.152.20.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.904.16 via Frontend Transport; Thu, 16 Feb 2017 11:48:22 +0000 Received: from fihe3nok1348.nsn-intra.net (10.158.36.136) by fihe3nok1349.nsn-intra.net (10.158.36.137) with Microsoft SMTP Server (TLS) id 15.1.466.34; Thu, 16 Feb 2017 13:48:20 +0200 Received: from mailrelay.int.nokia.com (10.130.128.21) by fihe3nok1348.nsn-intra.net (10.158.36.136) with Microsoft SMTP Server (TLS) id 15.1.466.34 via Frontend Transport; Thu, 16 Feb 2017 13:48:20 +0200 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1GBm9dq019279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 16 Feb 2017 13:48:09 +0200 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1GBm9BQ019269 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Thu, 16 Feb 2017 13:48:09 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Thu, 16 Feb 2017 13:48:09 +0200 Message-ID: <1487245689-4169-1-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.38; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39410400002)(39860400002)(39840400002)(39850400002)(39450400003)(2980300002)(189002)(199003)(53936002)(8676002)(356003)(77096006)(81166006)(22756006)(47776003)(6916009)(50986999)(68736007)(389900003)(33646002)(50466002)(5660300001)(48376002)(626004)(86362001)(450100001)(36756003)(2906002)(105596002)(2351001)(50226002)(106466001)(92566002)(97736004)(189998001)(8936002)(81156014)(305945005)(110136004)(38730400002)(5003940100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB1739; H:hybrid2.ext.net.nokia.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT037; 1:NY5Leqo6jCw1xf4DzCi2T56XHzoOAeX2UwbnLpheeXl4UkEoWDXN+T652j3+ANOKzj2EJtIs0F/xB/rmdy3Mo8TcV/PaqPuTzxBQujhFO+yTGeZTbhAJHCahLYrAoU9ROKjoROmPPN4uTTLrG4oY9wsHJS4dOUEV/83d4QDg4glhVVkgtw2xeoWLFesy82Hsabgtfj88CC4+PZkRg6ced7G1GZfpNNpbEcl/fKs47G+MwuS1d9NJBqCcUvhF9Zldin5SG5inXmW+SvYJDt8p3KefLF5LM96XZOH+EzCDl2BauAbam1wTYR2C9zROcC2ao/UOUL/ZAJGu6wF1Q6uNAGmKWsrojohyFfO+sEHcIjIuKVlzTPgYIAFXSDa6cz4vwpzU1jyHZ6wcYicNv44UV07AO3gpYln6GxPdz02XHxLgLw+N+Yz+6zttCLeFEzOVNnjkpfzobxy8erVpaaGxAg== X-MS-Office365-Filtering-Correlation-Id: 23f53b66-58a7-4236-bed8-08d45661b5ef X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR0701MB1739; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1739; 3:VR5MVEbsjmpYtk+TN197VG5bCIwJNb3Zn4RqNiX3vj0oRadDCbu+QYZ5ayG1YG1xeCVZhfTvvAfF5HCQp+btXnrRgrLLYJ9n63y3xEY7LanM2SnbUD2QpS9+/464/vmEVtfvVfiP0j6ehy2fJSt2TO/8so5vZHF5ziQF6MXGK75D3kBQ7Ft32ckaneTq+PgjwktB8mAAD8LWqy6U5SRJxwqK7h64l2uPloeDjWJZSa4pAMfAzEwmYMAktUfv7rAVG+yM2PRa05EFjnH/o/F8XMBTGBxNOGZOkDztyTJEsBqi/Q9iBjxL0MmOd6l+IVM1QiLN78apk7YFfOkfQWiJsvf9wBu7c6UXjWVrDFi+V54HTy6JS8LE8V5LQzqoWXfy; 25:LZXzT1plKKorKftTGDKD80+gj3kYjOF3I4X7Su+xJJGfJ9KoGYOZGLIFFSi4gnad721p+OmGwLahekDoauAjnSZD7DP2f7R9AilzGfG80JQE5tXDKT0bErjZiLKSUYPFlaZespznXxEMhuK4EzVUFpu1eOUn4hceD1nW4v3Cjgld8GolzXeobWc4drCESOec83Bi/FReeMT/ms5AZhZTdCWadBBwkLJNsH4F0sqEMsBrP0ij9j78J6I3OhG+D+g5IciB1KxqjX/JnLvlFv49Bsy8dLNYVcJHsRQdUpTHfn4RhhdnrhzZb9nixj3ILj4gWUpzeuExeZ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ON9g11Ul0TCVMOnWXtPSRI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(13018025)(13016025)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123558025)(20161123562025)(20161123560025)(20161123564025)(6072148); SRVR:HE1PR0701MB1739; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB1739; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1739; 4:iUv5i4ZJClis/cCuziBjl3Y79hQuaeeZQoJlJISbI3HdKyfzXpwcNAS34DEukUzwnNaYkNisxYxftT+pb018J4rrBC19XV7/d40zqUP/FV2RCbOCoS+lwHPCJaOgf3PJEK7Yrunw/oKIlbaDKDgNMG+DNzey5VVTsLuat4Ah8EHc1//gAM/Pvtz0mddwyH8DbarwtiXncfSB6tCW6/5BNeHQt0v0W7eXLjAkL5p+Iet3u+t9c0X1b7L80fcOsBOE/YE/7eOl0zHpnTRv9ZhaLi/0pv5Thzmvd35QNml2mhbwsqs3cn8IDrKKYKm+X7fWJ6V59ebnnr0sogahF3p1PK3dJCUC6KRSLR/Xooo9PQAMrKNNasJWY2hxLQk5KGmiyh2Ivw8eDrTka1GCJMsChegX6CKi4MX86CFoOMo0XxEj02u7oSX11NbGo13cVnuOvEW+DDuWZ86ZYjK12AKI/Dwx9CZv1FqIjJ6qF/m1dyjbga4B68Uq7i1Xmt2Deu2BG7IuUOw+Jp+DNAUDNYP8FYF5QXDc2pp78VCAjp7cRiR/8hKyIon+oT1Weez8Gd92RdPajaFGYHGxPc9lrT2VwGzUYuXT9cko3JAqzKrtF87JeKlbGWPToZ+uW5RP97DqIf0Z0WclLjWqQEuA7FdoTm4kd7iaAcfBjy01Yp834SQ= X-Forefront-PRVS: 0220D4B98D X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0701MB1739; 23:wkdXahU63EY2LjnW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Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1739; 6:N02I8Zyu9j3EmgAxWp127OYxCw0H0kZeLcFdCl7r1K9HE6huVjYWdmciodZUu/yj7ksHtMmB6jgjZFXN1T+m7a8Mm0BAEN1wQKqCMGj5R1Uxsu6R5vt63I29gSS+vGKzz/MgzECChu0KQHKGpv5nOAYE9OyojYJfA2KjKXUhV9nrFWyUBFVBn0CoTeLj0PkWgyKwSg1yxOUflsiCFq/knJM4sn0Yo4EutmRgpfkvN+yO6L/k6uUtzrl7WPantTlpsBqjrfgT8pZcy4I4E3IRtSj4F4/yrYQD6ZE4LQ3lGbsFDsdePGj3PxhTuWBy0k8MIF1Ra+RpRGa2BipbqKL8Bdh8pRn3ntTR29OzeJNXxNWfeeOrintkG+2jt3vC75dx2nWEgZ6PvARaFrNhIhs67pO2NRZmfpYtCSWzNxqC4oY=; 5:2zN6w++DhPNyMervFqHa1qE49DYzEYTHFH6t7cYzFnLauXw6CQC3RU97ipO2t1UbZ++eVPk5qWDVBODnlaDiExDUEBfRXmgb0CkqeogwvlGoTeqKzMhX9gU8KBWx/RvL9B7AHkjFsfGTF17mTzNAu+QEiI2SCuA7O6OvKOStoeA=; 24:Rp+WgPTjhcG6JziBH1yTh8XB29dBqAv2JfaY1Bbkd5Dn8WzabcvZ6YL3sqUTa5aP0jkdc89YK1vpelEZMmgB1cbz2AXxH6X1inn0zPGjVO0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1739; 7:lEmVKz8YzIvjfUIgYmrrO0ZC2ICiM/MroDESCK3tgg51QRsg9atMr7HFom5e7NAeUC7CMrilh9NS3AJEhrZsv0tWJvZ2wUB2qdbeHoSw5b529IrbmpKb/MGBkzXbl2YoyaebkMyMlnA5D4B6TARBSy2bK105hHCnHNUmCckpmnya6g/NIyE5Z8WL6XAnYyODKlRCzC9whE4TaQaNbMKV+HuKxiGACan8VPwFUI+5X988XVvpG3+Ji8M3UsYpZ8piAW9us5hrPzLfGjVlITVOMISEJuKg9OYJVGDWYXHrJt2gf+dTCxdzZGGE4Neg6fbIBOEOh5LBMz0c8BZoERtYAQ== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Feb 2017 11:48:22.9193 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.38]; Helo=[hybrid2.ext.net.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB1739 Subject: [lng-odp] [PATCH] linux-gen: abi: add symlink to arch specific dir X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Added symbolic link to the installed include directory. The link points to the arch specific abi dir, so that application does not need to add the arch specific dir into its makefile. Signed-off-by: Petri Savolainen --- configure.ac | 2 ++ platform/linux-generic/Makefile.am | 6 ++++++ 2 files changed, 8 insertions(+) -- 2.8.1 diff --git a/configure.ac b/configure.ac index 6153efd..b8e34fe 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,8 @@ AC_PROG_CXX AC_PROG_INSTALL AC_PROG_MAKE_SET +AC_PROG_LN_S + AM_PROG_AR #Use libtool LT_INIT([]) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index 576fedf..092487c 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -212,3 +212,9 @@ __LIB__libodp_linux_la_SOURCES = \ if HAVE_PCAP __LIB__libodp_linux_la_SOURCES += pktio/pcap.c endif + +# Create symlink for ABI header files. Application does not need to use the arch +# specific include path for installed files. +install-data-hook: + $(LN_S) -r $(prefix)/include/odp/arch/@ARCH_ABI@/odp/api/abi \ +$(prefix)/include/odp/api/abi