Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf tools: Rename the 'single_dep' target to 'prepare'

And use the new 'prepare' target for the $(PERF_IN) target.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1443004442-32660-7-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Jiri Olsa and committed by
Arnaldo Carvalho de Melo
324c824a 9fb81323

+10 -10
+10 -10
tools/perf/Makefile.perf
··· 299 299 export srctree OUTPUT RM CC LD AR CFLAGS V BISON FLEX AWK 300 300 include $(srctree)/tools/build/Makefile.include 301 301 302 - $(PERF_IN): $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)common-cmds.h FORCE 302 + $(PERF_IN): prepare FORCE 303 303 $(Q)$(MAKE) $(build)=perf 304 304 305 305 $(OUTPUT)perf: $(PERFLIBS) $(PERF_IN) $(LIBTRACEEVENT_DYNAMIC_LIST) ··· 349 349 __build-dir = $(subst $(OUTPUT),,$(dir $@)) 350 350 build-dir = $(if $(__build-dir),$(__build-dir),.) 351 351 352 - single_dep: $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)common-cmds.h 352 + prepare: $(OUTPUT)PERF-VERSION-FILE $(OUTPUT)common-cmds.h 353 353 354 - $(OUTPUT)%.o: %.c single_dep FORCE 354 + $(OUTPUT)%.o: %.c prepare FORCE 355 355 $(Q)$(MAKE) -f $(srctree)/tools/build/Makefile.build dir=$(build-dir) $@ 356 356 357 - $(OUTPUT)%.i: %.c single_dep FORCE 357 + $(OUTPUT)%.i: %.c prepare FORCE 358 358 $(Q)$(MAKE) -f $(srctree)/tools/build/Makefile.build dir=$(build-dir) $@ 359 359 360 - $(OUTPUT)%.s: %.c single_dep FORCE 360 + $(OUTPUT)%.s: %.c prepare FORCE 361 361 $(Q)$(MAKE) -f $(srctree)/tools/build/Makefile.build dir=$(build-dir) $@ 362 362 363 - $(OUTPUT)%-bison.o: %.c single_dep FORCE 363 + $(OUTPUT)%-bison.o: %.c prepare FORCE 364 364 $(Q)$(MAKE) -f $(srctree)/tools/build/Makefile.build dir=$(build-dir) $@ 365 365 366 - $(OUTPUT)%-flex.o: %.c single_dep FORCE 366 + $(OUTPUT)%-flex.o: %.c prepare FORCE 367 367 $(Q)$(MAKE) -f $(srctree)/tools/build/Makefile.build dir=$(build-dir) $@ 368 368 369 - $(OUTPUT)%.o: %.S single_dep FORCE 369 + $(OUTPUT)%.o: %.S prepare FORCE 370 370 $(Q)$(MAKE) -f $(srctree)/tools/build/Makefile.build dir=$(build-dir) $@ 371 371 372 - $(OUTPUT)%.i: %.S single_dep FORCE 372 + $(OUTPUT)%.i: %.S prepare FORCE 373 373 $(Q)$(MAKE) -f $(srctree)/tools/build/Makefile.build dir=$(build-dir) $@ 374 374 375 375 $(OUTPUT)perf-%: %.o $(PERFLIBS) ··· 591 591 592 592 .PHONY: all install clean config-clean strip install-gtk 593 593 .PHONY: shell_compatibility_test please_set_SHELL_PATH_to_a_more_modern_shell 594 - .PHONY: $(GIT-HEAD-PHONY) TAGS tags cscope FORCE single_dep 594 + .PHONY: $(GIT-HEAD-PHONY) TAGS tags cscope FORCE prepare 595 595 .PHONY: libtraceevent_plugins 596 596