[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-hbq0bbh03u2b722vozcyql31@git.kernel.org>
Date: Mon, 25 Jul 2016 11:11:05 -0700
From: tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: mingo@...nel.org, acme@...hat.com, hpa@...or.com,
jpoimboe@...hat.com, dsahern@...il.com, namhyung@...nel.org,
wangnan0@...wei.com, adrian.hunter@...el.com,
linux-kernel@...r.kernel.org, tglx@...utronix.de,
sfr@...b.auug.org.au, jolsa@...nel.org
Subject: [tip:perf/core] objtool: Use tools/scripts/Makefile.arch to get
ARCH and HOSTARCH
Commit-ID: 630e7a2904a271a519093aff611f50e06d55085c
Gitweb: http://git.kernel.org/tip/630e7a2904a271a519093aff611f50e06d55085c
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Fri, 22 Jul 2016 09:59:24 -0300
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Fri, 22 Jul 2016 16:28:25 -0300
objtool: Use tools/scripts/Makefile.arch to get ARCH and HOSTARCH
objtool's Makefile was setting up ARCH but fixing up just the x86_64 ->
x86, using Makefile.arch will do the necessary fixups for all arches.
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: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Wang Nan <wangnan0@...wei.com>
Link: http://lkml.kernel.org/n/tip-hbq0bbh03u2b722vozcyql31@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/objtool/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile
index 1f75b0a..988129c 100644
--- a/tools/objtool/Makefile
+++ b/tools/objtool/Makefile
@@ -1,11 +1,9 @@
include ../scripts/Makefile.include
+include ../scripts/Makefile.arch
-ifndef ($(ARCH))
-ARCH ?= $(shell uname -m)
ifeq ($(ARCH),x86_64)
ARCH := x86
endif
-endif
# always use the host compiler
CC = gcc
Powered by blists - more mailing lists