Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1169925 > unrolled thread
| Started by | Jiri Olsa <jolsa@kernel.org> |
|---|---|
| First post | 2015-06-22 15:00 +0200 |
| Last post | 2015-06-22 15:00 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 0/3] perf tool: Build fixes Jiri Olsa <jolsa@kernel.org> - 2015-06-22 15:00 +0200
[PATCH 3/3] perf build: Fix single target build dependency check Jiri Olsa <jolsa@kernel.org> - 2015-06-22 15:00 +0200
| From | Jiri Olsa <jolsa@kernel.org> |
|---|---|
| Date | 2015-06-22 15:00 +0200 |
| Subject | [PATCH 0/3] perf tool: Build fixes |
| Message-ID | <pE9up-47G-3@gated-at.bofh.it> |
hi,
sending some build fixes.
Also available in here:
git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
perf/make_test
thanks,
jirka
---
Jiri Olsa (3):
perf tests: Add testing for Makefile.perf
perf tests: Add test for make install with prefix
perf build: Fix single target build dependency check
tools/perf/Makefile | 4 ++--
tools/perf/tests/make | 31 ++++++++++++++++++++++++++++---
2 files changed, 30 insertions(+), 5 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Jiri Olsa <jolsa@kernel.org> |
|---|---|
| Date | 2015-06-22 15:00 +0200 |
| Subject | [PATCH 3/3] perf build: Fix single target build dependency check |
| Message-ID | <pE9uq-47G-25@gated-at.bofh.it> |
| In reply to | #1169925 |
Currently if we build single target like: $ touch util/map.c && make util/map.o It will not rebuild util/map.o if it already exists and util/map.c is modified. The reason is that the top-level 'Makefile' processes util/map.o as an implicit rule and if util/map.o exists make considers the 'util/map.o' target as done and wouldn't nest into Makefile.perf. Adding FORCE for '%', because that's what we want to nest into Makefile.perf for any target. Adding Makefile into phony targets, because make tries to rebuilt it and it's also resolved as '%' target. Link: http://lkml.kernel.org/n/tip-yrix4k0nb2fgmtzvmvxr23ps@git.kernel.org Signed-off-by: Jiri Olsa <jolsa@kernel.org> --- tools/perf/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/Makefile b/tools/perf/Makefile index d31a7bbd7cee..480546d5f13b 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -83,8 +83,8 @@ build-test: # # All other targets get passed through: # -%: +%: FORCE $(print_msg) $(make) -.PHONY: tags TAGS +.PHONY: tags TAGS FORCE Makefile -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web