tools/perf/tests/shell/coresight/Makefile

Source file repositories/reference/linux-study-clean/tools/perf/tests/shell/coresight/Makefile

File Facts

System
Linux kernel
Corpus path
tools/perf/tests/shell/coresight/Makefile
Extension
[no extension]
Size
738 bytes
Lines
30
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: build/configuration rule
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# 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-%=%)) $(MAKE) -C $(@:clean-%=%) clean >/dev/null

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

Annotation

Implementation Notes