From patchwork Tue Aug 22 09:59:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 110634 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp5100849obb; Tue, 22 Aug 2017 03:13:33 -0700 (PDT) X-Received: by 10.200.41.233 with SMTP id 38mr154827qtt.314.1503396813419; Tue, 22 Aug 2017 03:13:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503396813; cv=none; d=google.com; s=arc-20160816; b=BXbUhwXpeLvro/UcgKa8uJHWId8mL/WXvNlxEBOsBnjgmsIauB+8FhN4+BgLS+VO0v gB1cg6/NS/De0U19CW5XmTooNb7NM26rXt76YIIPkTYNOtROCqcy3cKgefV5/KzpvT4H MlfAwYv09hzGVUyETHtkXP4qG03UBGe80KS70MeDJ56glhzYImc+Yvc/kCV48SuBPXeQ dYZpSR1DgWU+UvxyE9AzhMHtJw60dDYC39BK8+CVtYz15ZBjUXNTsESmVT3UdF574BFG PZduAanKPYEJtgkyh7ZeGLQ5qNdLv4x3DASQVWaUBxcJzbt7LVxyPwhj3r+P/UVyK9z/ INPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=XvclQGtB7NogI1aeiFXfREwoNVDZaBiviR/m3ex8m0U=; b=vAucprq73svZr0CxHVKPrn8lMD3KcdxrAtT7YXc7iqzfcqvmQspPv5adyB6TPWh0rQ Oy3Ogspxn97zUHJSQhfX6xYe4qe/o+bp+gujtWHfxsNJi1U0fCXb5+AT6w+5/AN4XKrg XITcUPKJhEsvD2mK6mmZJAVqqbaVQP1zcrfAT2cf1EfokvPUoJEas8jpNFtKg3w6OL/E 1O8ffEZ9cbZ/ktP8kg/bdaaI4dpl9NTM9PxhPUCIuF5nydRhkusfq1RKOrgfSw2lHdvN jl9iC3Pz8DC8urpJsyndY63qaIisxs7u+ncVz9+7CBeXrWhkMeWSvnDsVF56cGDdni1T 9Piw== ARC-Authentication-Results: i=1; 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 16si13299329qkl.316.2017.08.22.03.13.33; Tue, 22 Aug 2017 03:13:33 -0700 (PDT) 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=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 18EDA62876; Tue, 22 Aug 2017 10:13: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=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, 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 40D09658CC; Tue, 22 Aug 2017 10:01:43 +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 AB839644D9; Tue, 22 Aug 2017 10:01:28 +0000 (UTC) Received: from forward103o.mail.yandex.net (forward103o.mail.yandex.net [37.140.190.177]) by lists.linaro.org (Postfix) with ESMTPS id 61362644E9 for ; Tue, 22 Aug 2017 10:00:26 +0000 (UTC) Received: from mxback3o.mail.yandex.net (mxback3o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1d]) by forward103o.mail.yandex.net (Yandex) with ESMTP id 09CC4588104F for ; Tue, 22 Aug 2017 13:00:25 +0300 (MSK) Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [2a02:6b8:0:801::ab]) by mxback3o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id NtaSdTevYV-0Oc0JRwE; Tue, 22 Aug 2017 13:00:24 +0300 Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Rlal5nTP8B-0OfWwxao; Tue, 22 Aug 2017 13:00:24 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Tue, 22 Aug 2017 12:59:58 +0300 Message-Id: <1503396009-8350-15-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> References: <1503396009-8350-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 127 Subject: [lng-odp] [PATCH v5 14/25] configure: AC_DEFINE(ODP_SCHEDULE_SP) 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" From: Dmitry Eremin-Solenikov Use Autoconf macros instead of defining macro by hand. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 127 (lumag:improve-build) ** https://github.com/Linaro/odp/pull/127 ** Patch: https://github.com/Linaro/odp/pull/127.patch ** Base sha: aecb3c7a442b426761f1e6f43308a1e9ea709ef3 ** Merge commit sha: 86e036501e05c61e5570d0908af382a61c2d4e89 **/ platform/linux-generic/m4/odp_schedule.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/m4/odp_schedule.m4 b/platform/linux-generic/m4/odp_schedule.m4 index 91c19f21..14b278bf 100644 --- a/platform/linux-generic/m4/odp_schedule.m4 +++ b/platform/linux-generic/m4/odp_schedule.m4 @@ -2,7 +2,8 @@ AC_ARG_ENABLE([schedule-sp], [ --enable-schedule-sp enable strict priority scheduler], [if test x$enableval = xyes; then schedule_sp_enabled=yes - ODP_CFLAGS="$ODP_CFLAGS -DODP_SCHEDULE_SP" + AC_DEFINE([ODP_SCHEDULE_SP], [1], + [Define to 1 to enable strict priority scheduler]) fi]) AC_ARG_ENABLE([schedule-iquery],