tools/testing/selftests/mm/page_frag/Makefile

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

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/mm/page_frag/Makefile
Extension
[no extension]
Size
344 bytes
Lines
19
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

PAGE_FRAG_TEST_DIR := $(realpath $(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
KDIR ?= $(if $(O),$(O),$(realpath ../../../../..))

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

MODULES = page_frag_test.ko

obj-m += page_frag_test.o

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

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

Annotation

Implementation Notes