From a00d3f4a8c19547b4050889965d9a2a93429ae51 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 20 Apr 2016 10:23:28 +0530 Subject: 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. --- Rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rules') 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)) -- cgit v1.2.1