aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/shell/coresight/Makefile
blob: b070e779703e9fbd70f88c826172b2150ee3d302 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# SPDX-License-Identifier: GPL-2.0-only
# Carsten Haitzler <carsten.haitzler@arm.com>, 2021
include ../../../../../tools/scripts/Makefile.include
include ../../../../../tools/scripts/Makefile.arch
include ../../../../../tools/scripts/utilities.mak

SUBDIRS = \
	asm_pure_loop \
	memcpy_thread \
	thread_loop \
	unroll_loop_thread

all: $(SUBDIRS)
$(SUBDIRS):
	@$(MAKE) -C $@ >/dev/null

INSTALLDIRS = $(SUBDIRS:%=install-%)

install-tests: $(INSTALLDIRS)
$(INSTALLDIRS):
	@$(MAKE) -C $(@:install-%=%) install-tests >/dev/null

CLEANDIRS = $(SUBDIRS:%=clean-%)

clean: $(CLEANDIRS)
$(CLEANDIRS):
	$(call QUIET_CLEAN, test-$(@:clean-%=%)) $(Q)$(MAKE) -C $(@:clean-%=%) clean >/dev/null

.PHONY: all clean $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS)