# 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) :23:08Z kbuild: Create output directory in Makefile.modbuiltin 2010-06-10T10:23:08Z Michal Marek mmarek@suse.cz 2010-06-10T10:23:08Z urn:sha1:607b30fcf20c6e5339591692db6ffa0b15e041a0 Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Michal Marek <mmarek@suse.cz> kbuild: generate modules.builtin 2009-12-12T12:08:16Z Michal Marek mmarek@suse.cz 2009-12-07T15:38:33Z urn:sha1:bc081dd6e9f622c73334dc465359168543ccaabf To make it easier for module-init-tools and scripts like mkinitrd to distinguish builtin and missing modules, install a modules.builtin file listing all builtin modules. This is done by generating an additional config file (tristate.conf) with tristate options set to uppercase 'Y' or 'M'. If we source that config file, the builtin modules appear in obj-Y. Signed-off-by: Michal Marek <mmarek@suse.cz>