arch/loongarch/lib/Makefile

Source file repositories/reference/linux-study-clean/arch/loongarch/lib/Makefile

File Facts

System
Linux kernel
Corpus path
arch/loongarch/lib/Makefile
Extension
[no extension]
Size
363 bytes
Lines
14
Domain
Architecture Layer
Bucket
arch/loongarch
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

# SPDX-License-Identifier: GPL-2.0
#
# Makefile for LoongArch-specific library files.
#

lib-y	+= delay.o clear_user.o copy_user.o dump_tlb.o unaligned.o

lib-$(CONFIG_32BIT) += bswapsi.o bswapdi.o
lib-$(CONFIG_64BIT) += memset.o memcpy.o memmove.o csum.o

obj-$(CONFIG_ARCH_SUPPORTS_INT128) += tishift.o

obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o

Annotation

Implementation Notes