From patchwork Wed Feb 25 22:32:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 45133 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 ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D0A0720502 for ; Wed, 25 Feb 2015 22:32:35 +0000 (UTC) Received: by lbvp9 with SMTP id p9sf5102923lbv.1 for ; Wed, 25 Feb 2015 14:32:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=rNkqd1m+q68peYZ+fxtr7MS+i776lPU+L0ICf5xwyaM=; b=k9RqyYxTRKnLB7h3VzX01G/ecr9GyqBbBbds23m3W0Pr3YdJtg0+RfCekjFChHRLsc LQoLaZ/LiGHM7rs1BSdsjgEN9axyQ103EY+3r3Xz5yUmwNxVdtnVze47EaAQSeQa6c5g 8aLGdt0DaxAfAH0wKjMbkFTRdaLZcHiJpX+6Jq30VLsn8txnqixn3sy4F1zR7gGIH75W ZniaYVjHeturDJsNmtNC3B6k8IM6eYcN4LB87HyPRJIJRm5LSKE3/Wb9BQJNzkpE/LZY qGlHgZi8+1SutUSlENlctV/rqc1RwFFTt+UbLBK/Kib8HhB0zwuhTKfKi+H4StelKbyL umYw== X-Gm-Message-State: ALoCoQmUG9KBx/EB4c9Wt3PpaPPyc1MiKA1Qv2b3VXD2Zk9i2shBpMKUHAtxkoYL1mBiWjoVeDfe X-Received: by 10.152.88.40 with SMTP id bd8mr841105lab.0.1424903554784; Wed, 25 Feb 2015 14:32:34 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.225.132 with SMTP id rk4ls452590lac.79.gmail; Wed, 25 Feb 2015 14:32:34 -0800 (PST) X-Received: by 10.112.163.229 with SMTP id yl5mr4887591lbb.60.1424903554652; Wed, 25 Feb 2015 14:32:34 -0800 (PST) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com. [209.85.217.170]) by mx.google.com with ESMTPS id o7si14288154lbl.80.2015.02.25.14.32.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 14:32:34 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.170 as permitted sender) client-ip=209.85.217.170; Received: by lbdu14 with SMTP id u14so7119575lbd.1 for ; Wed, 25 Feb 2015 14:32:34 -0800 (PST) X-Received: by 10.152.4.227 with SMTP id n3mr1863908lan.72.1424903554390; Wed, 25 Feb 2015 14:32:34 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.35.133 with SMTP id h5csp2924743lbj; Wed, 25 Feb 2015 14:32:33 -0800 (PST) X-Received: by 10.66.164.66 with SMTP id yo2mr9271508pab.59.1424903550091; Wed, 25 Feb 2015 14:32:30 -0800 (PST) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com. [209.85.220.43]) by mx.google.com with ESMTPS id u12si6290035pdj.49.2015.02.25.14.32.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Feb 2015 14:32:30 -0800 (PST) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.220.43 as permitted sender) client-ip=209.85.220.43; Received: by pabrd3 with SMTP id rd3so8706446pab.1 for ; Wed, 25 Feb 2015 14:32:29 -0800 (PST) X-Received: by 10.68.136.167 with SMTP id qb7mr8986871pbb.155.1424903549220; Wed, 25 Feb 2015 14:32:29 -0800 (PST) Received: from localhost.localdomain (c-67-170-153-23.hsd1.or.comcast.net. [67.170.153.23]) by mx.google.com with ESMTPSA id qm12sm43160405pdb.36.2015.02.25.14.32.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 25 Feb 2015 14:32:28 -0800 (PST) From: John Stultz To: Linux Kernel Mailing List Cc: John Stultz , Shuah Khan , Prarit Bhargava , Thomas Gleixner , Richard Cochran Subject: [PATCH 01/19] selftests/timers: Cleanup Makefile to make it easier to add future tests Date: Wed, 25 Feb 2015 14:32:06 -0800 Message-Id: <1424903544-26855-2-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1424903544-26855-1-git-send-email-john.stultz@linaro.org> References: <1424903544-26855-1-git-send-email-john.stultz@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: john.stultz@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.170 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Try to streamline the makefile so its easier to add timer/timekeeping tests. Cc: Shuah Khan Cc: Prarit Bhargava Cc: Thomas Gleixner Cc: Richard Cochran Signed-off-by: John Stultz --- tools/testing/selftests/timers/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/testing/selftests/timers/Makefile b/tools/testing/selftests/timers/Makefile index eb2859f..90a37b3 100644 --- a/tools/testing/selftests/timers/Makefile +++ b/tools/testing/selftests/timers/Makefile @@ -1,8 +1,11 @@ -all: - gcc posix_timers.c -o posix_timers -lrt +CFLAGS += -O3 -Wl,-no-as-needed +LDFLAGS += -lrt -lpthread +bins = posix_timers + +all: ${bins} run_tests: all ./posix_timers clean: - rm -f ./posix_timers + rm -f ${bins}