From patchwork Tue Aug 4 09:10:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 51905 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by patches.linaro.org (Postfix) with ESMTPS id 84F7522E8E for ; Tue, 4 Aug 2015 09:11:36 +0000 (UTC) Received: by lbcjj5 with SMTP id jj5sf1445832lbc.1 for ; Tue, 04 Aug 2015 02:11:35 -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:in-reply-to:references: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=tSKje9uQnj13o6gKLMqo7YicD5nNqQbbrzuXAJqo/VI=; b=L98CVuZRBeoNCFIGJxD7hLclErgU1qRg9TKs02S5fGyiXlI0UXptmTmegrf9wnWVPu 33EQVSqk+AUl+FmcGEOa2os6sFkZXgT0Leq9gT2W1lsMB31G12+9FodvGgTnmhOUcAxf NPyOtg8Wfi0/eQKgbosBm6JRibpGywNeYn421FiyDCysKp5KRR3Ig0QhAjq51iaL1crc 8QbxQFTSYcq/Aoq4gsG5PoYucByivcv2I/vTth4PS0moUgv1xsY7SBixmFF5aTRAW6kT reXiCfvwAr6PkLt8WrfD6crRdzeYmSnDkD50yI4C/1nj2KQS3PMncbm5SCrnO2f6eDtN vkTA== X-Gm-Message-State: ALoCoQlObbzOBCjOBuTYs73VCX0u+WXbShO+1zcBEclnPDRibuXpEjwHQKmRxp/z/NZX5ent2LQU X-Received: by 10.112.202.104 with SMTP id kh8mr830651lbc.9.1438679495492; Tue, 04 Aug 2015 02:11:35 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.232 with SMTP id d8ls19534lab.13.gmail; Tue, 04 Aug 2015 02:11:35 -0700 (PDT) X-Received: by 10.112.189.161 with SMTP id gj1mr2252296lbc.20.1438679495215; Tue, 04 Aug 2015 02:11:35 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id c2si261785laa.37.2015.08.04.02.11.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Aug 2015 02:11:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbbpo9 with SMTP id po9so2192698lbb.2 for ; Tue, 04 Aug 2015 02:11:35 -0700 (PDT) X-Received: by 10.152.120.135 with SMTP id lc7mr2158895lab.41.1438679495005; Tue, 04 Aug 2015 02:11:35 -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.7.198 with SMTP id l6csp2303658lba; Tue, 4 Aug 2015 02:11:33 -0700 (PDT) X-Received: by 10.50.79.169 with SMTP id k9mr25307868igx.44.1438679492886; Tue, 04 Aug 2015 02:11:32 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id qs1si8259957igb.80.2015.08.04.02.11.32; Tue, 04 Aug 2015 02:11:32 -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 CB2BC61F6A; Tue, 4 Aug 2015 09:11:31 +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=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 4B17E61F6C; Tue, 4 Aug 2015 09:10:59 +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 E272461F66; Tue, 4 Aug 2015 09:10:56 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by lists.linaro.org (Postfix) with ESMTPS id C9CB761F52 for ; Tue, 4 Aug 2015 09:10:55 +0000 (UTC) Received: by wicgj17 with SMTP id gj17so140678318wic.1 for ; Tue, 04 Aug 2015 02:10:55 -0700 (PDT) X-Received: by 10.180.105.98 with SMTP id gl2mr6067683wib.56.1438679455069; Tue, 04 Aug 2015 02:10:55 -0700 (PDT) Received: from localhost.localdomain ([87.120.178.39]) by smtp.gmail.com with ESMTPSA id fo1sm1240153wib.24.2015.08.04.02.10.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Aug 2015 02:10:54 -0700 (PDT) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Tue, 4 Aug 2015 12:10:40 +0300 Message-Id: <1438679443-3047-2-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1438679443-3047-1-git-send-email-maxim.uvarov@linaro.org> References: <1438679443-3047-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 1/4] linux-generic: move git_hash.sh under linux-generic directory 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.174 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 git_hash.sh is used to generate version string. Each platform should have it's own version of that script. Signed-off-by: Maxim Uvarov Reviewed-by: Mike Holmes --- configure.ac | 2 +- platform/Makefile.inc | 2 +- {scripts => platform/linux-generic/scripts}/Makefile.am | 0 {scripts => platform/linux-generic/scripts}/git_hash.sh | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename {scripts => platform/linux-generic/scripts}/Makefile.am (100%) rename {scripts => platform/linux-generic/scripts}/git_hash.sh (100%) diff --git a/scripts/Makefile.am b/platform/linux-generic/scripts/Makefile.am similarity index 100% rename from scripts/Makefile.am rename to platform/linux-generic/scripts/Makefile.am diff --git a/scripts/git_hash.sh b/platform/linux-generic/scripts/git_hash.sh similarity index 100% rename from scripts/git_hash.sh rename to platform/linux-generic/scripts/git_hash.sh diff --git a/configure.ac b/configure.ac index 24a3fa1..8b535be 100644 --- a/configure.ac +++ b/configure.ac @@ -300,7 +300,7 @@ AC_CONFIG_FILES([Makefile pkgconfig/libodphelper.pc platform/linux-generic/Makefile platform/linux-generic/test/pktio/Makefile - scripts/Makefile + platform/linux-generic/scripts/Makefile test/Makefile test/api_test/Makefile test/performance/Makefile diff --git a/platform/Makefile.inc b/platform/Makefile.inc index f64e37c..f26a8c5 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -12,6 +12,6 @@ lib_LTLIBRARIES = $(LIB)/libodp.la AM_LDFLAGS += -version-number '$(ODP_LIBSO_VERSION)' -GIT_DESC = `$(top_srcdir)/scripts/git_hash.sh` +GIT_DESC = `$(top_srcdir)/platform/linux-generic/scripts/git_hash.sh` AM_CFLAGS += "-DGIT_HASH=$(GIT_DESC)" AM_CFLAGS += -DPLATFORM=${with_platform}