diff --git a/tools/objtool/Makefile b/tools/objtool/Makefile index 1f75b0a046ccad81bd78da1189e5039f7c40fd37..988129cb77269da8655e70f21eb79f7e275e76d7 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