From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760148Ab3DBDxl (ORCPT ); Mon, 1 Apr 2013 23:53:41 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:43863 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758699Ab3DBDxk (ORCPT ); Mon, 1 Apr 2013 23:53:40 -0400 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:53:07 -0600 Message-Id: <1364874809-5575-2-git-send-email-dsahern@gmail.com> X-Mailer: git-send-email 1.7.10.1 In-Reply-To: <1364874809-5575-1-git-send-email-dsahern@gmail.com> References: <1364874809-5575-1-git-send-email-dsahern@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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/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 diff --git a/tools/perf/Pconfig b/tools/perf/Pconfig new file mode 100644 index 0000000..e69de29 -- 1.7.10.1