[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-pr3pvskh65pey4po7t122z4j@git.kernel.org>
Date: Sat, 16 Jul 2016 13:52:07 -0700
From: tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: acme@...hat.com, adrian.hunter@...el.com, jpoimboe@...hat.com,
linux-kernel@...r.kernel.org, namhyung@...nel.org,
wangnan0@...wei.com, hpa@...or.com, dsahern@...il.com,
tglx@...utronix.de, peterz@...radead.org, mingo@...nel.org,
jolsa@...nel.org
Subject: [tip:perf/core] objtool: Add
-I$(srctree)/tools/arch/$(ARCH)/include/uapi
Commit-ID: 4a0982f941d6f2550e8c39bc8bb0984b50dddf36
Gitweb: http://git.kernel.org/tip/4a0982f941d6f2550e8c39bc8bb0984b50dddf36
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Fri, 15 Jul 2016 17:23:46 -0300
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Fri, 15 Jul 2016 17:29:20 -0300
objtool: Add -I$(srctree)/tools/arch/$(ARCH)/include/uapi
So that it can find asm/bitsperlong.h to get the __BITS_PER_LONG
definition.
Cc: Adrian Hunter <adrian.hunter@...el.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Wang Nan <wangnan0@...wei.com>
Link: http://lkml.kernel.org/n/tip-pr3pvskh65pey4po7t122z4j@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/objtool/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
index 9a3110c..1f75b0a 100644
--- a/tools/objtool/Makefile
+++ b/tools/objtool/Makefile
@@ -26,7 +26,7 @@ OBJTOOL_IN := $(OBJTOOL)-in.o
all: $(OBJTOOL)
-INCLUDES := -I$(srctree)/tools/include
+INCLUDES := -I$(srctree)/tools/include -I$(srctree)/tools/arch/$(ARCH)/include/uapi
CFLAGS += -Wall -Werror $(EXTRA_WARNINGS) -fomit-frame-pointer -O2 -g $(INCLUDES)
LDFLAGS += -lelf $(LIBSUBCMD)
Powered by blists - more mailing lists