From patchwork Thu May 14 20:24:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 48539 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7766521411 for ; Thu, 14 May 2015 20:25:06 +0000 (UTC) Received: by labgx2 with SMTP id gx2sf23849901lab.1 for ; Thu, 14 May 2015 13:25:05 -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:cc: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=iEa33N6xbq+vhd79dQIsPK0UMuqvjo3Ft6Jo88wT4xE=; b=g10PKk81+MvDG9exS1nbsDh4AZLNFmO52kT1TV+B25voCS/nHWCVd9IODXSbtD4/F+ qcMEam6VRksOWpijqymGJbragt5m3lPPGfVc9mF93nUpgqgUPBYjLCOk2VTeSBtCKby3 1Mf9HRUYl1M9iDgeSfkAmuYGfbrHB5z3Wh+4vYxJAimeCf2UGVWmQFCdrCTv4fsJeJ2p Xi+wiNdjNWAnS3LnD1uE25KlvZVt3vaL73Zg1PySXyJgQ/swWhKmjIGMh5DWKM0lUXJD pwwtGe6S67xzHIofrdM37ycGULyDqs0//X+defPiss6DKVNNjVx86NH7uyYC32zx53EV 0LJA== X-Gm-Message-State: ALoCoQlERK8S5yPfmd1yRsUQ91nmBwj/gxDwffAssK3ve8QPcll0YcALM7rjnQmRYFTkiTcWOEsO X-Received: by 10.112.166.137 with SMTP id zg9mr4237006lbb.11.1431635105382; Thu, 14 May 2015 13:25:05 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.169 with SMTP id r9ls422859laj.86.gmail; Thu, 14 May 2015 13:25:05 -0700 (PDT) X-Received: by 10.152.22.72 with SMTP id b8mr4496946laf.1.1431635105165; Thu, 14 May 2015 13:25:05 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id y11si15227671lbm.131.2015.05.14.13.25.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 13:25:04 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by laat2 with SMTP id t2so85137660laa.1 for ; Thu, 14 May 2015 13:25:04 -0700 (PDT) X-Received: by 10.152.29.161 with SMTP id l1mr4486690lah.76.1431635104879; Thu, 14 May 2015 13:25:04 -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 hn6csp1511484lbb; Thu, 14 May 2015 13:25:03 -0700 (PDT) X-Received: by 10.140.46.4 with SMTP id j4mr7849876qga.17.1431635103017; Thu, 14 May 2015 13:25:03 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f194si4455651qhe.112.2015.05.14.13.25.02; Thu, 14 May 2015 13:25:02 -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 0BEB661E73; Thu, 14 May 2015 20:25:02 +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_H2, 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 8804561D74; Thu, 14 May 2015 20:24:57 +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 9BF0C61D9E; Thu, 14 May 2015 20:24:55 +0000 (UTC) Received: from mail-qg0-f43.google.com (mail-qg0-f43.google.com [209.85.192.43]) by lists.linaro.org (Postfix) with ESMTPS id CDA7861D74 for ; Thu, 14 May 2015 20:24:54 +0000 (UTC) Received: by qgew3 with SMTP id w3so1373165qge.2 for ; Thu, 14 May 2015 13:24:54 -0700 (PDT) X-Received: by 10.140.85.137 with SMTP id n9mr7771111qgd.67.1431635094323; Thu, 14 May 2015 13:24:54 -0700 (PDT) Received: from mike-desktop.?.holmesfamily.ws (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by mx.google.com with ESMTPSA id 8sm88144qhs.5.2015.05.14.13.24.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 May 2015 13:24:53 -0700 (PDT) From: Mike Holmes To: anders.roxell@linaro.org, zoltan.kiss@linaro.org Date: Thu, 14 May 2015 16:24:13 -0400 Message-Id: <1431635053-19970-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Cc: lng-odp@lists.linaro.org Subject: [lng-odp] [PATCH 2/2] gather common usage 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: mike.holmes@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.215.42 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: Mike Holmes --- Uses patch enable optional perf testing apply-and-build.sh | 4 ---- build.sh | 4 ---- helper/generic | 4 ++++ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/apply-and-build.sh b/apply-and-build.sh index e41c297..0b2a301 100755 --- a/apply-and-build.sh +++ b/apply-and-build.sh @@ -25,8 +25,6 @@ export DISTCHECK="${DISTCHECK:-1}" usage() { echo -e "$0 makes use of the following environment variables," - echo -e "\tGIT_ODP:\twhich ODP git repo to use, default: ${GIT_ODP}" - echo -e "\tGIT_BRANCH:\twhich branch to checkout and test, default: ${GIT_BRANCH}" echo -e "\tPATCH_DIR:\twhere to look for patches, default: $HOME/incoming" echo -e "\tCLEANUP:\tset to 0 to save *.log files, default: ${CLEANUP}" echo -e "\tCHECKPATCH:\tset to 0 to disable checkpatch test, default: ${CHECKPATCH}" @@ -39,9 +37,7 @@ usage() { echo -e "\tNUM_CPUS:\tadd parallel make, default: _NPROCESSORS_ONLN" echo -e "\tFILE_EXT:\tsupported extensions in patch file names, default: ${FILE_EXT}" echo -e "\tM32_ON_64:\tenable 32 bit builds on a 64 bit host, default: 0" - echo -e "\tCPP_TEST:\tenable cpp test, default: 0" common_usage - echo -e "\tDISTCHECK:\tset to 0 to disable DISTCHECK build, default: 1" openssl_usage tc_usage cunit_usage diff --git a/build.sh b/build.sh index 2bf2ac3..6dc081d 100755 --- a/build.sh +++ b/build.sh @@ -76,8 +76,6 @@ exit_on_error(){ usage() { echo -e "\tARCH:\t\t which arch to build (arm, armeb, arm64, arm64be), default: not set" - echo -e "\tGIT_ODP:\t which ODP git repo to use, default: ${GIT_ODP}" - echo -e "\tGIT_BRANCH:\t which branch to checkout and test, default: ${GIT_BRANCH}" tc_usage cunit_usage openssl_usage @@ -92,9 +90,7 @@ usage() { echo -e "\tDOXYGEN_HTML:\t build doxygen-html, default: 0" echo -e "\tCLANG:\t\t build with clang, default: 0" echo -e "\tEXIT_ON_ERROR:\t bail out on error, default: 1" - echo -e "\tCPP_TEST:\t enable cpp test, default: 0" common_usage - echo -e "\tDISTCHECK:\tset to 1 to enable DISTCHECK build, default: 0" echo -e "\tE_VALGRIND:\t run Valgrind, default: 0" ${PLATFORM_SHORT}_usage } diff --git a/helper/generic b/helper/generic index d4be657..496148b 100644 --- a/helper/generic +++ b/helper/generic @@ -23,7 +23,11 @@ control_c() trap control_c SIGINT common_usage() { + echo -e "\tGIT_ODP:\t which ODP git repo to use, default: ${GIT_ODP}" + echo -e "\tGIT_BRANCH:\t which branch to checkout and test, default: ${GIT_BRANCH}" + echo -e "\tCPP_TEST:\t enable cpp test, default: 0" echo -e "\tPERF_TEST:\t enable perf test, default: 1" + echo -e "\tDISTCHECK:\tset to 1 to enable DISTCHECK build, default: 0" } remote_name(){