diff options
author | Thorsten Leemhuis <linux@leemhuis.info> | 2019-01-08 14:40:06 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2019-01-08 18:29:52 -0500 |
commit | 4ab5a5d2a4a2289c2af07accbec7170ca5671f41 (patch) | |
tree | ca2eeac3a029e810e3ddc65675658bf8db5d5ce4 /tools/debugging/Makefile | |
parent | 8fe28cb58bcb235034b64cbbb7550a8a43fd88be (diff) |
tools: add a kernel-chktaint to tools/debugging
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>
Diffstat (limited to 'tools/debugging/Makefile')
-rw-r--r-- | tools/debugging/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/debugging/Makefile b/tools/debugging/Makefile new file mode 100644 index 000000000000..e2b7c1a6fb8f --- /dev/null +++ b/tools/debugging/Makefile | |||
@@ -0,0 +1,16 @@ | |||
1 | # SPDX-License-Identifier: GPL-2.0 | ||
2 | # Makefile for debugging tools | ||
3 | |||
4 | PREFIX ?= /usr | ||
5 | BINDIR ?= bin | ||
6 | INSTALL ?= install | ||
7 | |||
8 | TARGET = kernel-chktaint | ||
9 | |||
10 | all: $(TARGET) | ||
11 | |||
12 | clean: | ||
13 | |||
14 | install: kernel-chktaint | ||
15 | $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(TARGET) | ||
16 | |||