objtool: Use tools/scripts/Makefile.arch to get ARCH and HOSTARCH
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 22 Jul 2016 12:59:24 +0000 (09:59 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 22 Jul 2016 19:28:25 +0000 (16:28 -0300)
commit630e7a2904a271a519093aff611f50e06d55085c
tree9c54f26e275770f554ba03612446bfede6b6ee1c
parent0a943cb10ce783a1c55adf6f52f62bcbd5f49314
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@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-hbq0bbh03u2b722vozcyql31@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/objtool/Makefile