scripts/livepatch/Makefile

Source file repositories/reference/linux-study-clean/scripts/livepatch/Makefile

File Facts

System
Linux kernel
Corpus path
scripts/livepatch/Makefile
Extension
[no extension]
Size
480 bytes
Lines
21
Domain
Support Tooling And Documentation
Bucket
scripts
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

# SPDX-License-Identifier: GPL-2.0
# Standalone Makefile for developer tooling (not part of kbuild).

SHELLCHECK := $(shell which shellcheck 2> /dev/null)

SRCS := \
  klp-build

.DEFAULT_GOAL := help
.PHONY: help
help:
	@echo "  check      - Run shellcheck on $(SRCS)"
	@echo "  help       - Show this help message"

.PHONY: check
check:
ifndef SHELLCHECK
	$(error shellcheck is not installed. Please install it to run checks)
endif
	@$(SHELLCHECK) $(SHELLCHECK_OPTIONS) $(SRCS)

Annotation

Implementation Notes