projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea648a
)
objtool: Add -I$(srctree)/tools/arch/$(ARCH)/include/uapi
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Fri, 15 Jul 2016 20:23:46 +0000
(17:23 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Fri, 15 Jul 2016 20:29:20 +0000
(17:29 -0300)
So that it can find asm/bitsperlong.h to get the __BITS_PER_LONG
definition.
Cc: Adrian Hunter <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Josh Poimboeuf <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Wang Nan <
[email protected]
>
Link:
http://lkml.kernel.org/n/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/objtool/Makefile
patch
|
blob
|
history
diff --git
a/tools/objtool/Makefile
b/tools/objtool/Makefile
index 9a3110cac6040e41250e1d87b533494b7acd3b57..1f75b0a046ccad81bd78da1189e5039f7c40fd37 100644
(file)
--- 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)