]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - tools/objtool/Makefile
objtool: Use tools/scripts/Makefile.arch to get ARCH and HOSTARCH
[mirror_ubuntu-artful-kernel.git] / tools / objtool / Makefile
index 1f75b0a046ccad81bd78da1189e5039f7c40fd37..988129cb77269da8655e70f21eb79f7e275e76d7 100644 (file)
@@ -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