Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5294314imm; Tue, 16 Oct 2018 08:08:08 -0700 (PDT) X-Google-Smtp-Source: ACcGV63AWhnH3P05kE916OO1sAQ4NwyddnyXr6m98xdigAO/CbA8hIsnYMyjJUrEdLLBZ6wp+qmt X-Received: by 2002:a17:902:758f:: with SMTP id j15-v6mr22410389pll.160.1539702488178; Tue, 16 Oct 2018 08:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539702488; cv=none; d=google.com; s=arc-20160816; b=rT3aUzL11l1VYSEyjvtFGa82ViPNEVA+QvBjHE9/K9O6gBWwDuqRn6dNfpNNmJv14k fl0Wvvv9U49yCvReiJHZ/SJPGPk3pnRCPANs9DMrGU8I2n/1kLADZr+kRwVa3UC1hRsv QUdKoKYiqZ8TMPFYs1jl4GBXkcbJlMP3EBfFn3oHxRS6ucp3i53nCQEEQhkAbTxdZott CIMu/9LLD3P2pMdZWK88LgB0w48GKzyDyfl/9D7Q93DIOSS+AUkSV4oN98bO2ijn9qwU 5et6BFjGsVr6QcNxI2v/wBoo+qvC1DXytNeqlz6yiDXBtXUo7Kp4jIY4z/GswFcuoA9k kFLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=7ZBkZPe6W3FEt2f6AAovxnCRpjt+sehg2zesXHTonNA=; b=KarS80TMEjdjeOQjWMWUIytZKbBUNEdVHeDuowHMPcVwIhT60KmmkSJ0dxUcHsUkfT 6wzDPhxhdISn0P344sdPbTSMngbjOFKpkb1sl4ItNo9wJen6Tac2q5hbCAREB0qOj4Hh oY+FWCSwkv9lwZCSrBm6uRAqaZIwLtISH0j0yjsa+UwSP27yVSIsq1x/yWrL5Px5ay4d 8iG46i9Ck4Zc5Mt8yzQ96p7xUqF+puDtXa9UrHAoC6EtxWyRdfnkDyZUEF3X3RM08sqo B8fRCu5WCeGZAk1/6py6Deb4SIO3urh53T/uV5COifxRd9wgcoFP6L5bYA4Iub3Pn1mM cKHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ay8-v6si13843490plb.235.2018.10.16.08.07.50; Tue, 16 Oct 2018 08:08:08 -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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727421AbeJPW5o (ORCPT + 99 others); Tue, 16 Oct 2018 18:57:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32100 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726760AbeJPW5o (ORCPT ); Tue, 16 Oct 2018 18:57:44 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 68794CA1D8; Tue, 16 Oct 2018 15:06:52 +0000 (UTC) Received: from krava.brq.redhat.com (unknown [10.43.17.150]) by smtp.corp.redhat.com (Postfix) with ESMTP id D2DF15890E; Tue, 16 Oct 2018 15:06:37 +0000 (UTC) From: Jiri Olsa To: lkml Cc: Thomas Renninger , Shuah Khan , "Herton R. Krzesinski" Subject: [PATCH 03/10] tools cpupower debug: Allow to use outside build flags Date: Tue, 16 Oct 2018 17:06:08 +0200 Message-Id: <20181016150614.21260-4-jolsa@kernel.org> In-Reply-To: <20181016150614.21260-1-jolsa@kernel.org> References: <20181016150614.21260-1-jolsa@kernel.org> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 16 Oct 2018 15:06:52 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adding CFLAGS and LDFLAGS to be used during the build. Cc: Thomas Renninger Cc: Shuah Khan Signed-off-by: Jiri Olsa --- tools/power/cpupower/debug/x86_64/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/power/cpupower/debug/x86_64/Makefile b/tools/power/cpupower/debug/x86_64/Makefile index 59af84b8ef45..b1b6c43644e7 100644 --- a/tools/power/cpupower/debug/x86_64/Makefile +++ b/tools/power/cpupower/debug/x86_64/Makefile @@ -13,10 +13,10 @@ INSTALL = /usr/bin/install default: all $(OUTPUT)centrino-decode: ../i386/centrino-decode.c - $(CC) $(CFLAGS) -o $@ $< + $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $< $(OUTPUT)powernow-k8-decode: ../i386/powernow-k8-decode.c - $(CC) $(CFLAGS) -o $@ $< + $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $< all: $(OUTPUT)centrino-decode $(OUTPUT)powernow-k8-decode -- 2.17.2