From patchwork Wed Sep 9 13:06:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bamvor Zhang Jian X-Patchwork-Id: 53321 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by patches.linaro.org (Postfix) with ESMTPS id A792122B19 for ; Wed, 9 Sep 2015 13:11:18 +0000 (UTC) Received: by lanb10 with SMTP id b10sf3702016lan.3 for ; Wed, 09 Sep 2015 06:11:17 -0700 (PDT) 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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=BuUGtlqmSTsvPfqyaNclFTtlBbF4eiYKuyyOuXXHOMA=; b=MIalsOXCRLXVhMx6d1VprRIrzHzw317BEZXbZDNPemDKGD0VR/UPPoAeRsYxQK7LbQ A5QAj2tH6Yfh6+HTs1rN2x62Eblj3Tu/phqiCmJqm3PjYgujIRxkM831RFUJy0goL4z8 XRi9JhKvLmFlg1SgXyRW8NKcsU5AMU0wKoB/PVh0JyA4ta5mcxA8uWApq8mvbXID8u/n T+KP1fV+1TsKUj9sW1rPzFF2N9KqJpwCcUk3ZmKbLhTlLwlsMAhAJr8qUcM0YAqmesXW O7GhZD4RBUxyW4+tz400oQdTXWVSQ+GbQ5naKt5MQVgEcW5iXimwkvllibfIgTUiD3rf ZhQg== X-Gm-Message-State: ALoCoQlzmNjIQPTQuhRXSiIvb6R2wijyM8C2LcahEbfTDxWE1l8uNleUpYo1JSabCj4eLrLpn98h X-Received: by 10.112.138.2 with SMTP id qm2mr8018558lbb.19.1441804277510; Wed, 09 Sep 2015 06:11:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.130 with SMTP id e2ls46038lam.40.gmail; Wed, 09 Sep 2015 06:11:17 -0700 (PDT) X-Received: by 10.152.5.225 with SMTP id v1mr26044344lav.0.1441804277333; Wed, 09 Sep 2015 06:11:17 -0700 (PDT) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id x10si6657434lad.28.2015.09.09.06.11.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Sep 2015 06:11:17 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by lbpo4 with SMTP id o4so5380031lbp.2 for ; Wed, 09 Sep 2015 06:11:17 -0700 (PDT) X-Received: by 10.152.161.232 with SMTP id xv8mr12228419lab.32.1441804277223; Wed, 09 Sep 2015 06:11:17 -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.59.35 with SMTP id w3csp325529lbq; Wed, 9 Sep 2015 06:11:16 -0700 (PDT) X-Received: by 10.66.157.137 with SMTP id wm9mr12280087pab.30.1441804273315; Wed, 09 Sep 2015 06:11:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si11414788pbu.155.2015.09.09.06.11.12; Wed, 09 Sep 2015 06:11:13 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754449AbbIINLE (ORCPT + 28 others); Wed, 9 Sep 2015 09:11:04 -0400 Received: from mail-pa0-f46.google.com ([209.85.220.46]:33420 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751598AbbIINKj (ORCPT ); Wed, 9 Sep 2015 09:10:39 -0400 Received: by pacex6 with SMTP id ex6so10317059pac.0 for ; Wed, 09 Sep 2015 06:10:38 -0700 (PDT) X-Received: by 10.66.252.131 with SMTP id zs3mr60050499pac.75.1441804237961; Wed, 09 Sep 2015 06:10:37 -0700 (PDT) Received: from linux-j170.site (tk2-223-21014.vs.sakura.ne.jp. [160.16.94.18]) by smtp.gmail.com with ESMTPSA id v7sm1211946pdr.71.2015.09.09.06.10.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Sep 2015 06:10:37 -0700 (PDT) From: Bamvor Jian Zhang To: linux-kernel@vger.kernel.org Cc: broonie@kernel.org, khilman@linaro.org, tyler.baker@linaro.org, bamvor.zhangjian@linaro.org, shuahkh@osg.samsung.com, mpe@ellerman.id.au Subject: [PATCH v3 2/5] selftests: mqueue: allow extra cflags Date: Wed, 9 Sep 2015 21:06:26 +0800 Message-Id: <1441803989-28513-3-git-send-email-bamvor.zhangjian@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441803989-28513-1-git-send-email-bamvor.zhangjian@linaro.org> References: <1441803989-28513-1-git-send-email-bamvor.zhangjian@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: bamvor.zhangjian@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.177 as permitted sender) smtp.mailfrom=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 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Change from = to += in order to allows the user to pass whatever CFLAGS they wish(E.g. pass the proper headers and librareis (popt.h and libpopt.so) in cross-compiling) Suggested-by: Michael Ellermani Signed-off-by: Bamvor Jian Zhang Acked-by: Michael Ellermani --- tools/testing/selftests/mqueue/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/mqueue/Makefile b/tools/testing/selftests/mqueue/Makefile index 0e3b41e..ca8327f 100644 --- a/tools/testing/selftests/mqueue/Makefile +++ b/tools/testing/selftests/mqueue/Makefile @@ -1,4 +1,4 @@ -CFLAGS = -O2 +CFLAGS += -O2 all: $(CC) $(CFLAGS) mq_open_tests.c -o mq_open_tests -lrt