mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-02 07:43:34 +00:00
Add test tool to be driven by further test scripts. This is a simple C based test that is for arm64 with some inline ASM to manually unroll a lot of code to have a very long sequence of commands. Reviewed-by: James Clark <james.clark@arm.com> Signed-off-by: Carsten Haitzler <carsten.haitzler@arm.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Mike Leach <mike.leach@linaro.org> Cc: Suzuki Poulouse <suzuki.poulose@arm.com> Cc: coresight@lists.linaro.org Link: https://lore.kernel.org/r/20220909152803.2317006-11-carsten.haitzler@foss.arm.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
30 lines
742 B
Makefile
30 lines
742 B
Makefile
# 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)
|