From patchwork Tue Apr 2 03:54:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Ahern X-Patchwork-Id: 2374091 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 22AB9DF2A1 for ; Tue, 2 Apr 2013 04:01:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760381Ab3DBDyt (ORCPT ); Mon, 1 Apr 2013 23:54:49 -0400 Received: from mail-pd0-f173.google.com ([209.85.192.173]:60514 "EHLO mail-pd0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760379Ab3DBDys (ORCPT ); Mon, 1 Apr 2013 23:54:48 -0400 Received: by mail-pd0-f173.google.com with SMTP id v10so1549093pde.32 for ; Mon, 01 Apr 2013 20:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=jxFOKwCHY0unJaIhyAgYJEj3xY2dgNL0GBvC1U3pNjA=; b=bNuE/VbLytaMN2GiDCT+p9lKaKNLvxBhubY0urMpfWWgBYWbaoFSv2WmHsOiLZQ8is ZU6DfRyilQm8JAlJVvicJ2hGEFaiK5VMB0s8xW6Eig/ndRH45WSJ1nLWzu3QXcl8SvSE BH1xbOBfAAbMuIzKf5KsepFIIUAiEsC37I20vHwjOju+aif+gPNWREzG/uu7DCAVRA0P 5C/f2Vlo35GoFGPZkmmoTrcq0YFbWzRkDz7US2Gs5b2iCzMV/JGL+107qY6nVXVui7KT 5pnis/R7oWQ11xUj6VEGGe/Du5wPNyrpyCbcCPXu1Cjysgxi6tVZUw/wL3KvfDU5mG+y kkBw== X-Received: by 10.66.147.38 with SMTP id th6mr22306966pab.56.1364874887521; Mon, 01 Apr 2013 20:54:47 -0700 (PDT) Received: from sjc-daahern-8913.cisco.com (128-107-239-233.cisco.com. [128.107.239.233]) by mx.google.com with ESMTPS id xl10sm445707pac.15.2013.04.01.20.54.44 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 01 Apr 2013 20:54:46 -0700 (PDT) From: David Ahern To: acme@ghostprotocols.net, linux-kernel@vger.kernel.org Cc: David Ahern , Borislav Petkov , Frederic Weisbecker , Ingo Molnar , Jiri Olsa , Namhyung Kim , Peter Zijlstra , Stephane Eranian , linux-kbuild@vger.kernel.org Subject: [PATCH 01/23] perf: initial infrasructure for kconfig Date: Mon, 1 Apr 2013 21:54:15 -0600 Message-Id: <1364874877-5618-2-git-send-email-dsahern@gmail.com> X-Mailer: git-send-email 1.7.10.1 In-Reply-To: <1364874877-5618-1-git-send-email-dsahern@gmail.com> References: <1364874877-5618-1-git-send-email-dsahern@gmail.com> Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Add Pconfig file which will hold the build options. Update Makefile with new config files. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Borislav Petkov Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Cc: linux-kbuild@vger.kernel.org --- tools/perf/Makefile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tools/perf/Pconfig diff --git a/tools/perf/Pconfig b/tools/perf/Pconfig new file mode 100644 index 0000000..e69de29 diff --git a/tools/perf/Makefile b/tools/perf/Makefile index bb74c79..4e54d05 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -5,6 +5,9 @@ all: include config/utilities.mak +# Read in config if it exists +-include $(OUTPUT)include/config/auto.conf + # Define V to have a more verbose compile. # # Define O to save output files in a separate directory. @@ -203,6 +206,7 @@ ifneq ($(OUTPUT),) endif BASIC_CFLAGS = \ + -I$(OUTPUT)include \ -Iutil/include \ -Iarch/$(ARCH)/include \ $(if $(objtree),-I$(objtree)/arch/$(ARCH)/include/generated/uapi) \ @@ -409,6 +413,7 @@ LIB_H += ui/helpline.h LIB_H += ui/progress.h LIB_H += ui/util.h LIB_H += ui/ui.h +LIB_H += $(OUTPUT)include/generated/autoconf.h LIB_OBJS += $(OUTPUT)util/abspath.o LIB_OBJS += $(OUTPUT)util/alias.o