tools/testing/selftests/powerpc/flags.mk

Source file repositories/reference/linux-study-clean/tools/testing/selftests/powerpc/flags.mk

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/powerpc/flags.mk
Extension
.mk
Size
308 bytes
Lines
10
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

#This checks for any ENV variables and add those.

ifeq ($(GIT_VERSION),)
GIT_VERSION := $(shell git describe --always --long --dirty || echo "unknown")
export GIT_VERSION
endif

CFLAGS := -std=gnu99 -O2 -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(selfdir)/powerpc/include $(USERCFLAGS)
export CFLAGS

Annotation

Implementation Notes