diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | benchtests/Makefile | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 96be3baeb5..b80865e7df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com> + + * benchtests/Rules (bench-deps): Collect dependencies into a + single variable. Add Makefile to dependencies. + ($(objpfx)bench-%.c): Depend on bench-deps. + 2013-04-12 Roland McGrath <roland@hack.frob.com> Xavier Roche <roche+kml2@exalead.com> diff --git a/benchtests/Makefile b/benchtests/Makefile index 86d59057f2..3e794d798e 100644 --- a/benchtests/Makefile +++ b/benchtests/Makefile @@ -114,6 +114,8 @@ include ../Rules binaries-bench := $(addprefix $(objpfx)bench-,$(bench)) +bench-deps := bench-skeleton.c Makefile + run-bench = $(test-wrapper-env) \ GCONV_PATH=$(common-objpfx)iconvdata LC_ALL=C \ $($*-ENV) $(rtld-prefix) $${run} @@ -133,7 +135,7 @@ $(binaries-bench): %: %.o \ $(addprefix $(csu-objpfx),start.o) $(+preinit) $(+postinit) $(+link) -$(objpfx)bench-%.c: %-inputs bench-skeleton.c +$(objpfx)bench-%.c: %-inputs $(bench-deps) { if [ -n "$($*-INCLUDE)" ]; then \ cat $($*-INCLUDE); \ fi; \ |