arch/um/Makefile-skas

Source file repositories/reference/linux-study-clean/arch/um/Makefile-skas

File Facts

System
Linux kernel
Corpus path
arch/um/Makefile-skas
Extension
[no extension]
Size
425 bytes
Lines
18
Domain
Architecture Layer
Bucket
arch/um
Inferred role
Architecture Layer: build/configuration rule
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

# 
# Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
# Licensed under the GPL
#

export UM_GPROF_OPT += -pg

ifdef CONFIG_CC_IS_CLANG
export UM_GCOV_OPT += -fprofile-instr-generate -fcoverage-mapping
else
export UM_GCOV_OPT += -fprofile-arcs -ftest-coverage
endif

CFLAGS-$(CONFIG_GCOV) += $(UM_GCOV_OPT)
CFLAGS-$(CONFIG_GPROF) += $(UM_GPROF_OPT)
LINK-$(CONFIG_GCOV) += $(UM_GCOV_OPT)
LINK-$(CONFIG_GPROF) += $(UM_GPROF_OPT)

Annotation

Implementation Notes