From patchwork Mon Sep 7 14:04:49 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: 53237 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 2DAAC22B06 for ; Mon, 7 Sep 2015 14:09:02 +0000 (UTC) Received: by lbbti1 with SMTP id ti1sf26096353lbb.3 for ; Mon, 07 Sep 2015 07:09:00 -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=CBQsAS+QpBbP6Ue2Ossz0fEsjPhl9gL7ORBwSYsc1GI=; b=APqboHwdyPsM/FC6sB0+ADC+XV4qUbkXkxbeQIkEz+HL62yAU/iMNvyAXsw8v/diL9 U/0evFkIOroTU/dcMw8uRggp7UAO6JLqzUb/Ee24s/jSFcQuapBuBLPT3eILDM3BAUT8 bFdhKMfCof1AYK/Zw/n3R23dOCOkjmET6PJJCdcH6dOtpNZQlJzlIHb1vTwuqiviqOAl 008bOUIdAOPOG/N1GgHOiE/Ef0crmwyZ3+jL248ahlsD5yu/OegefktgV1ABQmhiagd/ JzGANarupQLDHFb6yqJPz+CktF3rxkm7TFvHJ8pa1jlH5rLwbaphVxKc0wk1da2FJj5J B34A== X-Gm-Message-State: ALoCoQkelqQ9GtBsg+jwjcXDo8BLnb0R/p0KXi5F1HfG5nJeIEvAQwz/0/hty7ig9h5kqi5+ojjt X-Received: by 10.180.89.104 with SMTP id bn8mr5152913wib.4.1441634940130; Mon, 07 Sep 2015 07:09:00 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.1.232 with SMTP id 8ls66981lap.103.gmail; Mon, 07 Sep 2015 07:08:59 -0700 (PDT) X-Received: by 10.112.25.39 with SMTP id z7mr17711254lbf.102.1441634939936; Mon, 07 Sep 2015 07:08:59 -0700 (PDT) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id r3si97280lar.2.2015.09.07.07.08.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 Sep 2015 07:08:59 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by laeb10 with SMTP id b10so53178695lae.1 for ; Mon, 07 Sep 2015 07:08:59 -0700 (PDT) X-Received: by 10.112.235.130 with SMTP id um2mr17308846lbc.72.1441634939821; Mon, 07 Sep 2015 07:08:59 -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 w3csp398686lbq; Mon, 7 Sep 2015 07:08:58 -0700 (PDT) X-Received: by 10.68.220.132 with SMTP id pw4mr45572439pbc.149.1441634938616; Mon, 07 Sep 2015 07:08:58 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y15si20229813pbt.204.2015.09.07.07.08.57; Mon, 07 Sep 2015 07:08:58 -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 S1752699AbbIGOIl (ORCPT + 28 others); Mon, 7 Sep 2015 10:08:41 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:35434 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752421AbbIGOIg (ORCPT ); Mon, 7 Sep 2015 10:08:36 -0400 Received: by pacfv12 with SMTP id fv12so100481437pac.2 for ; Mon, 07 Sep 2015 07:08:36 -0700 (PDT) X-Received: by 10.66.101.7 with SMTP id fc7mr45348317pab.57.1441634916090; Mon, 07 Sep 2015 07:08:36 -0700 (PDT) Received: from linux-j170.site (ec2-52-68-133-70.ap-northeast-1.compute.amazonaws.com. [52.68.133.70]) by smtp.gmail.com with ESMTPSA id gh5sm12167908pbc.87.2015.09.07.07.08.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Sep 2015 07:08:35 -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 v2 3/6] selftests: mqueue: allow extra cflags Date: Mon, 7 Sep 2015 22:04:49 +0800 Message-Id: <1441634692-19494-4-git-send-email-bamvor.zhangjian@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1441634692-19494-1-git-send-email-bamvor.zhangjian@linaro.org> References: <1441634692-19494-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.215.48 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 pass the proper headers and librareis (popt.h and libpopt.so) in order to build successful in cross compiling. Suggested-by: Michael Ellermani Signed-off-by: Bamvor Jian Zhang Acked-by: Michael Ellerman --- 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