From patchwork Fri May 8 14:54:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 48170 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DD4CE2121F for ; Fri, 8 May 2015 14:55:15 +0000 (UTC) Received: by lbcne10 with SMTP id ne10sf21816253lbc.1 for ; Fri, 08 May 2015 07:55:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=cUg30jfGr8VKWGSJdzWNqvskE1+nO49POPEwpt7p2/c=; b=glg3gvjtGrksUqaI7ISmaLuEn4CoYPxpTrS8jJVl01fDVv/yChP2zlOaCfsBoiy2V6 groEYIx2jDNoNXVViB9fLUbVuk7TVUO45qU7KWDieaaJVnqF1Pt45tE112J4luwJidJx qymVN0LnSbE5rR82M0bfGtfdfyZCNWeCUHFGKi32V8ez37DlBq9W70aY8Q2LOA4RDGWu VnQ1Xr+Zcfg+qB3LmLzM9ndEBkHty/rLreG+GU4LnZWv2g2vMRx7xAyDiqUkhlPkSQrZ 0sncfkyrRHn3kmnleLIHDTQmDjFpplVKZFobuVEYdrAljvp0dWUfjZn3IKtwPTmCj0se Gghw== X-Gm-Message-State: ALoCoQm2GhOdvQryhW5OsCcuZKmv+X9UJgpqeaRJ+7aXcTwLquXSidwGWHY0toY6SCNHJEZcbx6X X-Received: by 10.112.171.41 with SMTP id ar9mr2241072lbc.24.1431096914717; Fri, 08 May 2015 07:55:14 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.116.38 with SMTP id jt6ls396095lab.101.gmail; Fri, 08 May 2015 07:55:14 -0700 (PDT) X-Received: by 10.153.7.66 with SMTP id da2mr3180590lad.94.1431096914542; Fri, 08 May 2015 07:55:14 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id ko5si3454363lbb.43.2015.05.08.07.55.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 May 2015 07:55:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbbuc2 with SMTP id uc2so54885297lbb.2 for ; Fri, 08 May 2015 07:55:14 -0700 (PDT) X-Received: by 10.152.206.75 with SMTP id lm11mr3142062lac.41.1431096914428; Fri, 08 May 2015 07:55:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp70408lbb; Fri, 8 May 2015 07:55:13 -0700 (PDT) X-Received: by 10.140.29.133 with SMTP id b5mr5250636qgb.3.1431096913182; Fri, 08 May 2015 07:55:13 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id i60si5524752qgf.41.2015.05.08.07.54.43; Fri, 08 May 2015 07:55:13 -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; Received: by lists.linaro.org (Postfix, from userid 109) id E5B4761FCE; Fri, 8 May 2015 14:54:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_WEB, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 3E20961D2B; Fri, 8 May 2015 14:54:41 +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 391BD61F95; Fri, 8 May 2015 14:54:37 +0000 (UTC) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by lists.linaro.org (Postfix) with ESMTPS id 3CC4D61CE1 for ; Fri, 8 May 2015 14:54:36 +0000 (UTC) Received: by lbbuc2 with SMTP id uc2so54872181lbb.2 for ; Fri, 08 May 2015 07:54:34 -0700 (PDT) X-Received: by 10.152.42.242 with SMTP id r18mr3234041lal.8.1431096874742; Fri, 08 May 2015 07:54:34 -0700 (PDT) Received: from localhost.localdomain (ppp91-76-165-85.pppoe.mtu-net.ru. [91.76.165.85]) by mx.google.com with ESMTPSA id jq15sm1222812lab.27.2015.05.08.07.54.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 May 2015 07:54:33 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Fri, 8 May 2015 17:54:29 +0300 Message-Id: <1431096869-2642-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] linux-generic: add implementation version for packaging X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Maxim Uvarov --- scripts/odp_version.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/odp_version.sh b/scripts/odp_version.sh index d71d2f7..2487b7f 100755 --- a/scripts/odp_version.sh +++ b/scripts/odp_version.sh @@ -6,4 +6,7 @@ GEN=`grep "define ODP_VERSION_API_GENERATION" ${VFILE} | cut -d ' ' -f 3` MAJ=`grep "define ODP_VERSION_API_MAJOR" ${VFILE} | cut -d ' ' -f 3` MIN=`grep "define ODP_VERSION_API_MINOR" ${VFILE} | cut -d ' ' -f 3` -echo -n $GEN.$MAJ.$MIN +IMPL_FILE="platform/linux-generic/odp_impl.c" +IMPL=`grep "define ODP_VERSION_IMPL " ${IMPL_FILE} | cut -d ' ' -f 3` + +echo -n $GEN.$MAJ.$MIN.$IMPL