tools/testing/selftests/net/bench/page_pool/Makefile

Source file repositories/reference/linux-study-clean/tools/testing/selftests/net/bench/page_pool/Makefile

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/net/bench/page_pool/Makefile
Extension
[no extension]
Size
408 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

BENCH_PAGE_POOL_SIMPLE_TEST_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
KDIR ?= /lib/modules/$(shell uname -r)/build

ifeq ($(V),1)
Q =
else
Q = @
endif

obj-m	+= bench_page_pool.o
bench_page_pool-y += bench_page_pool_simple.o time_bench.o

all:
	+$(Q)make -C $(KDIR) M=$(BENCH_PAGE_POOL_SIMPLE_TEST_DIR) modules

clean:
	+$(Q)make -C $(KDIR) M=$(BENCH_PAGE_POOL_SIMPLE_TEST_DIR) clean

Annotation

Implementation Notes