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 000ea210389d3aeac32be7e9aaf810faae99b38f..58aed81a21ea9ebeafe39a14fa7a5dc7bcdb7a88 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 6f8f6430f2bf6be5ef09565cabedf33ed8963a7b..d1e2b856ef0fda1138488b7e79d3ac0fc95e24a6 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);