4ab5a5d2a4
Add a script to the tools/ directory that shows if or why the running kernel was tainted. The script was mostly written by Randy Dunlap; I enhanced the script a bit. There does not appear to be a good home for this script. so create tools/debugging for tools of this nature. Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Thorsten Leemhuis <linux@leemhuis.info> [ jc: fixed conflicts, rewrote changelog ] Signed-off-by: Jonathan Corbet <corbet@lwn.net>
17 lines
264 B
Makefile
17 lines
264 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Makefile for debugging tools
|
|
|
|
PREFIX ?= /usr
|
|
BINDIR ?= bin
|
|
INSTALL ?= install
|
|
|
|
TARGET = kernel-chktaint
|
|
|
|
all: $(TARGET)
|
|
|
|
clean:
|
|
|
|
install: kernel-chktaint
|
|
$(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(TARGET)
|
|
|