134bec35cSCarsten Haitzler# SPDX-License-Identifier: GPL-2.0-only 234bec35cSCarsten Haitzler# Carsten Haitzler <carsten.haitzler@arm.com>, 2021 334bec35cSCarsten Haitzlerinclude ../../../../../tools/scripts/Makefile.include 434bec35cSCarsten Haitzlerinclude ../../../../../tools/scripts/Makefile.arch 534bec35cSCarsten Haitzlerinclude ../../../../../tools/scripts/utilities.mak 634bec35cSCarsten Haitzler 78b975197SCarsten HaitzlerSUBDIRS = \ 8f1288bdbSCarsten Haitzler asm_pure_loop \ 9e9664b96SCarsten Haitzler memcpy_thread \ 10*fc0a0ea0SCarsten Haitzler thread_loop \ 11*fc0a0ea0SCarsten Haitzler unroll_loop_thread 1234bec35cSCarsten Haitzler 1334bec35cSCarsten Haitzlerall: $(SUBDIRS) 1434bec35cSCarsten Haitzler$(SUBDIRS): 1534bec35cSCarsten Haitzler @$(MAKE) -C $@ >/dev/null 1634bec35cSCarsten Haitzler 1734bec35cSCarsten HaitzlerINSTALLDIRS = $(SUBDIRS:%=install-%) 1834bec35cSCarsten Haitzler 1934bec35cSCarsten Haitzlerinstall-tests: $(INSTALLDIRS) 2034bec35cSCarsten Haitzler$(INSTALLDIRS): 2134bec35cSCarsten Haitzler @$(MAKE) -C $(@:install-%=%) install-tests >/dev/null 2234bec35cSCarsten Haitzler 2334bec35cSCarsten HaitzlerCLEANDIRS = $(SUBDIRS:%=clean-%) 2434bec35cSCarsten Haitzler 2534bec35cSCarsten Haitzlerclean: $(CLEANDIRS) 2634bec35cSCarsten Haitzler$(CLEANDIRS): 2734bec35cSCarsten Haitzler $(call QUIET_CLEAN, test-$(@:clean-%=%)) $(Q)$(MAKE) -C $(@:clean-%=%) clean >/dev/null 2834bec35cSCarsten Haitzler 2934bec35cSCarsten Haitzler.PHONY: all clean $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS) 30