diff options
author | Siddhesh Poyarekar <sid@reserved-bit.com> | 2016-04-20 10:23:28 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <sid@reserved-bit.com> | 2016-04-20 10:23:28 +0530 |
commit | a00d3f4a8c19547b4050889965d9a2a93429ae51 (patch) | |
tree | 1e796b1032343a4f7ddb947f4ed90c8daf0180b0 /Rules | |
parent | 6f8222a1c52a9e577925b90d16b95be10ef50596 (diff) | |
download | glibc-a00d3f4a8c19547b4050889965d9a2a93429ae51.tar.gz glibc-a00d3f4a8c19547b4050889965d9a2a93429ae51.tar.xz glibc-a00d3f4a8c19547b4050889965d9a2a93429ae51.zip |
New make target to only build benchmark binaries
For situations where we are cross-building or where we want to avoid building on the target system, we want a way to only build benchmarks and then copy them over to the target system to run them. I have also added a simple enhancement for the 'bench' target where all benchmark binaries are built and then the benchmarks executed. Tested on arm. Makefile.in (bench-build): New target. Rules (PHONY): Add bench-build target. benchtests/Makefile (bench): Depend on bench-build. (bench-build): New target.
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rules b/Rules index d8093b3f1f..8306d36a07 100644 --- a/Rules +++ b/Rules @@ -83,7 +83,7 @@ common-generated += dummy.o dummy.c # This makes all the auxiliary and test programs. -.PHONY: others tests bench +.PHONY: others tests bench bench-build ifeq ($(build-programs),yes) others: $(addprefix $(objpfx),$(others) $(sysdep-others) $(extra-objs)) |