From patchwork Mon Dec 12 14:52:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 87701 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp1683078qgi; Mon, 12 Dec 2016 06:57:45 -0800 (PST) X-Received: by 10.159.48.9 with SMTP id h9mr58859207uab.59.1481554665280; Mon, 12 Dec 2016 06:57:45 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d4si10994790uad.95.2016.12.12.06.57.44; Mon, 12 Dec 2016 06:57:45 -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 dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id D800360869; Mon, 12 Dec 2016 14:57:44 +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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 CF50E60DA0; Mon, 12 Dec 2016 14:53:19 +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 0CF9060C7F; Mon, 12 Dec 2016 14:53:00 +0000 (UTC) Received: from mail-qt0-f178.google.com (mail-qt0-f178.google.com [209.85.216.178]) by lists.linaro.org (Postfix) with ESMTPS id 8DA9360D03 for ; Mon, 12 Dec 2016 14:52:42 +0000 (UTC) Received: by mail-qt0-f178.google.com with SMTP id c47so77701594qtc.2 for ; Mon, 12 Dec 2016 06:52:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=An636ZF30elTaBBq4zIBReJsh4sTwRBVFN5KYtPwqxk=; b=i99mGFahRbhjIBRqZhNmMCCW0gW19BmtNNVpqiCFYno2BERUoxViJKMGND+VSkTUG4 eFBLHs6T4m+k5/lzvT8wTCtdRagioC4g4WS2jakzBLKJCu/iAOmbLDr3bzy/LUoqpBwP AabOXBNQuBGbNW8WOVCzIXhaUVosVfHfVCTfZM+ofjQ+ryzJmiq2iCFk620mmBprKHrn +hP1EdtKSWD0MMu6Udj6qQI5Z99R/MjVrck2oyvSypo/al2ouY+kMMNbDfs2EcRzDjKz D0x8TlchCWbLo0ebF3PVszs1v10gFtCIEJiUw0ZNx+Ps4llaYBWuJqSzcCCtnaLs6ajK ZbDQ== X-Gm-Message-State: AKaTC02K8CYq1o1LnaZSIRDC5JjYO7bqie4UujZFGK+HCa1TJS4PM+U8oBSPnUOn8otm5OEkBQE= X-Received: by 10.200.42.106 with SMTP id l39mr78778828qtl.280.1481554362266; Mon, 12 Dec 2016 06:52:42 -0800 (PST) Received: from localhost (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id c2sm25150737qkg.8.2016.12.12.06.52.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Dec 2016 06:52:41 -0800 (PST) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Mon, 12 Dec 2016 09:52:30 -0500 Message-Id: <20161212145230.11412-7-mike.holmes@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161212145230.11412-1-mike.holmes@linaro.org> References: <20161212145230.11412-1-mike.holmes@linaro.org> Subject: [lng-odp] [PATCH 6/6] helper: take default os from odp platform 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" Signed-off-by: Mike Holmes --- configure.ac | 4 ++-- platform/linux-generic/m4/configure.m4 | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) -- 2.9.3 diff --git a/configure.ac b/configure.ac index f17bcae..eb5436c 100644 --- a/configure.ac +++ b/configure.ac @@ -158,9 +158,9 @@ ODP_CFLAGS="$ODP_CFLAGS -DIMPLEMENTATION_NAME=$IMPLEMENTATION_NAME" ########################################################################## AC_ARG_WITH([os], [AS_HELP_STRING([--with-os=os], - [select platform to be used, default linux])], + [select platform to be used, default ${default_helper_os}])], [], - [with_os=linux + [with_os=${default_helper_os} ]) AC_SUBST([with_os]) diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4 index d3e5528..bf6bbe2 100644 --- a/platform/linux-generic/m4/configure.m4 +++ b/platform/linux-generic/m4/configure.m4 @@ -38,3 +38,5 @@ m4_include([platform/linux-generic/m4/odp_schedule.m4]) AC_CONFIG_FILES([platform/linux-generic/Makefile platform/linux-generic/include/odp/api/plat/static_inline.h]) +#define the odp helper implimentation to be built +default_helper_os=linux