mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
benchtests: Clean up extra-objs
The bench-clean target would leave behind json-lib.o. Fix up to clean up all extra-objs registered in benchtests.
This commit is contained in:
parent
f1f9a72bdc
commit
d7aea0cf06
@ -1,5 +1,7 @@
|
||||
2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
|
||||
|
||||
* benchtests/Makefile (bench-clean): Clean up extra-objs.
|
||||
|
||||
* benchtests/README: Update README to include instructions on
|
||||
using bench-build.
|
||||
|
||||
|
@ -112,7 +112,9 @@ cpp-srcs-left := $(binaries-benchset:=.c) $(binaries-bench:=.c) \
|
||||
lib := nonlib
|
||||
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
|
||||
|
||||
extra-objs += json-lib.o
|
||||
bench-extra-objs = json-lib.o
|
||||
|
||||
extra-objs += $(bench-extra-objs)
|
||||
|
||||
bench-deps := bench-skeleton.c bench-timing.h Makefile
|
||||
|
||||
@ -127,6 +129,7 @@ bench-clean:
|
||||
rm -f $(binaries-benchset) $(addsuffix .o,$(binaries-benchset))
|
||||
rm -f $(binaries-bench-malloc) $(addsuffix .o,$(binaries-bench-malloc))
|
||||
rm -f $(timing-type) $(addsuffix .o,$(timing-type))
|
||||
rm -f $(addprefix $(objpfx),$(bench-extra-objs))
|
||||
|
||||
bench: $(timing-type) $(gen-locales) bench-build bench-set bench-func \
|
||||
bench-malloc
|
||||
|
Loading…
Reference in New Issue
Block a user