perf tools: Remove superfluous ARCH Makefile includes
authorJiri Olsa <jolsa@kernel.org>
Tue, 5 Apr 2016 15:01:52 +0000 (17:01 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 6 Apr 2016 14:00:01 +0000 (11:00 -0300)
Link: http://lkml.kernel.org/n/tip-yk6brsq3opuotr9by18xlkr8@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
tools/perf/Makefile.perf
tools/perf/config/Makefile

index 000ea21..58aed81 100644 (file)
@@ -297,8 +297,6 @@ endif
 # because maintaining the nesting to match is a pain.  If
 # we had "elif" things would have been much nicer...
 
--include arch/$(ARCH)/Makefile
-
 ifneq ($(OUTPUT),)
   CFLAGS += -I$(OUTPUT)
 endif
index 6f8f643..d1e2b85 100644 (file)
@@ -295,9 +295,6 @@ ifndef NO_LIBELF
     CFLAGS += -DHAVE_ELF_GETPHDRNUM_SUPPORT
   endif
 
-  # include ARCH specific config
-  -include $(src-perf)/arch/$(ARCH)/Makefile
-
   ifndef NO_DWARF
     ifeq ($(origin PERF_HAVE_DWARF_REGS), undefined)
       msg := $(warning DWARF register mappings have not been defined for architecture $(ARCH), DWARF support disabled);