From patchwork Thu Feb 5 06:37: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: 44397 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 118CE2029F for ; Thu, 5 Feb 2015 06:37:28 +0000 (UTC) Received: by mail-we0-f197.google.com with SMTP id l61sf3957987wev.0 for ; Wed, 04 Feb 2015 22:37:27 -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=hNPvmNtEbNV70POkSHU1fmAIBA+xLYkMCwe4lvX71ro=; b=HgvwGzNmGP+3TXtupENWmjeUiltDegmrubhiRSYA67tehcxvGz5RLl+gftFlQLVjP6 GhEH/91dw8ZTbf6k2nhJOz8qStc3KdCLfl7b3zf0GSIZSI+ZVbympS3Kcg7Bp4YUt8yu tIU7lWI+tAR4vEwkrHWn6o9/c7WpqqeWthNb6vciFeZa4ZFu7CyzltYZqxANK+NaHe7W GcRE4WnGvvJZvay4SPOjcKkSVQvazi4Rumd1rqzqCVSBciy55/PAYovCCQh5X50kVLB9 hmCWkgxAWDdXSej3D8vA8WIQhXpAF6IPgmrUzPNB1W+t60SIiKynjRCrYH4VUTmIhC0/ PZMQ== X-Gm-Message-State: ALoCoQn+Zsb9quY02TeLRPPHuA9X0WtMjV3tAp0liSiLM2QtllNqo3cdIkluUeBQIWxVWaVduUjn X-Received: by 10.112.156.163 with SMTP id wf3mr226327lbb.6.1423118247148; Wed, 04 Feb 2015 22:37:27 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.105 with SMTP id r9ls132729lar.8.gmail; Wed, 04 Feb 2015 22:37:26 -0800 (PST) X-Received: by 10.112.144.164 with SMTP id sn4mr1842822lbb.2.1423118246915; Wed, 04 Feb 2015 22:37:26 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id o6si3204739lao.25.2015.02.04.22.37.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 22:37:26 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by mail-la0-f43.google.com with SMTP id pn19so5584088lab.2 for ; Wed, 04 Feb 2015 22:37:26 -0800 (PST) X-Received: by 10.112.25.104 with SMTP id b8mr1710158lbg.69.1423118246513; Wed, 04 Feb 2015 22:37:26 -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 h5csp953584lbj; Wed, 4 Feb 2015 22:37:25 -0800 (PST) X-Received: by 10.70.140.130 with SMTP id rg2mr3264278pdb.49.1423118244820; Wed, 04 Feb 2015 22:37:24 -0800 (PST) Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com. [209.85.192.176]) by mx.google.com with ESMTPS id fv13si5047166pad.50.2015.02.04.22.37.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 22:37:24 -0800 (PST) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 209.85.192.176 as permitted sender) client-ip=209.85.192.176; Received: by pdiy13 with SMTP id y13so5852514pdi.8 for ; Wed, 04 Feb 2015 22:37:23 -0800 (PST) X-Received: by 10.70.90.39 with SMTP id bt7mr3465160pdb.52.1423118243833; Wed, 04 Feb 2015 22:37:23 -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 ji5sm3932972pbd.22.2015.02.04.22.37.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Feb 2015 22:37:23 -0800 (PST) From: John Stultz To: Linux Kernel Mailing List Cc: John Stultz , Shuah Khan Subject: [PATCH 1/7] selftests/timers: Cleanup Makefile to make it easier to add future tests Date: Wed, 4 Feb 2015 22:37:06 -0800 Message-Id: <1423118232-14096-2-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1423118232-14096-1-git-send-email-john.stultz@linaro.org> References: <1423118232-14096-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.215.43 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 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}