tools/testing/selftests/vsock/Makefile

Source file repositories/reference/linux-study-clean/tools/testing/selftests/vsock/Makefile

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/vsock/Makefile
Extension
[no extension]
Size
448 bytes
Lines
18
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

CURDIR := $(abspath .)
TOOLSDIR := $(abspath ../../..)
VSOCK_TEST_DIR := $(TOOLSDIR)/testing/vsock
VSOCK_TEST_SRCS := $(wildcard $(VSOCK_TEST_DIR)/*.c $(VSOCK_TEST_DIR)/*.h)

$(OUTPUT)/vsock_test: $(VSOCK_TEST_DIR)/vsock_test
	install -m 755 $< $@

$(VSOCK_TEST_DIR)/vsock_test: $(VSOCK_TEST_SRCS)
	$(MAKE) -C $(VSOCK_TEST_DIR) vsock_test
TEST_PROGS += vmtest.sh
TEST_GEN_FILES := vsock_test

include ../lib.mk

Annotation

Implementation Notes