aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 739c4412b183..c5ac0a991565 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -377,9 +377,9 @@ LIB_H += util/include/linux/rbtree.h
377LIB_H += util/include/linux/string.h 377LIB_H += util/include/linux/string.h
378LIB_H += util/include/linux/types.h 378LIB_H += util/include/linux/types.h
379LIB_H += util/include/asm/asm-offsets.h 379LIB_H += util/include/asm/asm-offsets.h
380LIB_H += util/include/asm/bitops.h
381LIB_H += util/include/asm/bug.h 380LIB_H += util/include/asm/bug.h
382LIB_H += util/include/asm/byteorder.h 381LIB_H += util/include/asm/byteorder.h
382LIB_H += util/include/asm/hweight.h
383LIB_H += util/include/asm/swab.h 383LIB_H += util/include/asm/swab.h
384LIB_H += util/include/asm/system.h 384LIB_H += util/include/asm/system.h
385LIB_H += util/include/asm/uaccess.h 385LIB_H += util/include/asm/uaccess.h
@@ -435,7 +435,6 @@ LIB_OBJS += $(OUTPUT)util/path.o
435LIB_OBJS += $(OUTPUT)util/rbtree.o 435LIB_OBJS += $(OUTPUT)util/rbtree.o
436LIB_OBJS += $(OUTPUT)util/bitmap.o 436LIB_OBJS += $(OUTPUT)util/bitmap.o
437LIB_OBJS += $(OUTPUT)util/hweight.o 437LIB_OBJS += $(OUTPUT)util/hweight.o
438LIB_OBJS += $(OUTPUT)util/find_next_bit.o
439LIB_OBJS += $(OUTPUT)util/run-command.o 438LIB_OBJS += $(OUTPUT)util/run-command.o
440LIB_OBJS += $(OUTPUT)util/quote.o 439LIB_OBJS += $(OUTPUT)util/quote.o
441LIB_OBJS += $(OUTPUT)util/strbuf.o 440LIB_OBJS += $(OUTPUT)util/strbuf.o
@@ -948,19 +947,6 @@ $(OUTPUT)util/config.o: util/config.c $(OUTPUT)PERF-CFLAGS
948$(OUTPUT)util/rbtree.o: ../../lib/rbtree.c $(OUTPUT)PERF-CFLAGS 947$(OUTPUT)util/rbtree.o: ../../lib/rbtree.c $(OUTPUT)PERF-CFLAGS
949 $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) -DETC_PERFCONFIG='"$(ETC_PERFCONFIG_SQ)"' $< 948 $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) -DETC_PERFCONFIG='"$(ETC_PERFCONFIG_SQ)"' $<
950 949
951# some perf warning policies can't fit to lib/bitmap.c, eg: it warns about variable shadowing
952# from <string.h> that comes from kernel headers wrapping.
953KBITMAP_FLAGS=`echo $(ALL_CFLAGS) | sed s/-Wshadow// | sed s/-Wswitch-default// | sed s/-Wextra//`
954
955$(OUTPUT)util/bitmap.o: ../../lib/bitmap.c $(OUTPUT)PERF-CFLAGS
956 $(QUIET_CC)$(CC) -o $@ -c $(KBITMAP_FLAGS) -DETC_PERFCONFIG='"$(ETC_PERFCONFIG_SQ)"' $<
957
958$(OUTPUT)util/hweight.o: ../../lib/hweight.c $(OUTPUT)PERF-CFLAGS
959 $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) -DETC_PERFCONFIG='"$(ETC_PERFCONFIG_SQ)"' $<
960
961$(OUTPUT)util/find_next_bit.o: ../../lib/find_next_bit.c $(OUTPUT)PERF-CFLAGS
962 $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) -DETC_PERFCONFIG='"$(ETC_PERFCONFIG_SQ)"' $<
963
964$(OUTPUT)util/scripting-engines/trace-event-perl.o: util/scripting-engines/trace-event-perl.c $(OUTPUT)PERF-CFLAGS 950$(OUTPUT)util/scripting-engines/trace-event-perl.o: util/scripting-engines/trace-event-perl.c $(OUTPUT)PERF-CFLAGS
965 $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow $< 951 $(QUIET_CC)$(CC) -o $@ -c $(ALL_CFLAGS) $(PERL_EMBED_CCOPTS) -Wno-redundant-decls -Wno-strict-prototypes -Wno-unused-parameter -Wno-shadow $<
966 952