projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'trace-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux...
[firefly-linux-kernel-4.4.55.git]
/
tools
/
perf
/
config
/
Makefile.arch
diff --git
a/tools/perf/config/Makefile.arch
b/tools/perf/config/Makefile.arch
index 4b06719ee984618c6154fa0bfbadd78977a4861e..851cd0172a7694a0e21fd18d07c79031d5f9b253 100644
(file)
--- a/
tools/perf/config/Makefile.arch
+++ b/
tools/perf/config/Makefile.arch
@@
-21,3
+21,11
@@
ifeq ($(ARCH),x86_64)
RAW_ARCH := x86_64
endif
endif
+
+ifeq (${IS_X86_64}, 1)
+ IS_64_BIT := 1
+else ifeq ($(ARCH),x86)
+ IS_64_BIT := 0
+else
+ IS_64_BIT := $(shell echo __LP64__ | ${CC} ${CFLAGS} -E -x c - | tail -n 1)
+endif