Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: vt: move conmakehash to drivers/tty/vt/ from scripts/

scripts/conmakehash is only used for generating
drivers/tty/vt/consolemap_deftbl.c

Move it to the related directory.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20191217110633.8796-1-masahiroy@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Masahiro Yamada and committed by
Greg Kroah-Hartman
4484aa80 f1d31743

+6 -7
+1
drivers/tty/vt/.gitignore
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 + conmakehash 2 3 consolemap_deftbl.c 3 4 defkeymap.c
+5 -3
drivers/tty/vt/Makefile
··· 12 12 # Files generated that shall be removed upon make clean 13 13 clean-files := consolemap_deftbl.c defkeymap.c 14 14 15 - quiet_cmd_conmk = CONMK $@ 16 - cmd_conmk = scripts/conmakehash $< > $@ 15 + hostprogs-y += conmakehash 17 16 18 - $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE) 17 + quiet_cmd_conmk = CONMK $@ 18 + cmd_conmk = $(obj)/conmakehash $< > $@ 19 + 20 + $(obj)/consolemap_deftbl.c: $(src)/$(FONTMAPFILE) $(obj)/conmakehash 19 21 $(call cmd,conmk) 20 22 21 23 $(obj)/defkeymap.o: $(obj)/defkeymap.c
-1
scripts/.gitignore
··· 2 2 # Generated files 3 3 # 4 4 bin2c 5 - conmakehash 6 5 kallsyms 7 6 unifdef 8 7 recordmcount
-3
scripts/Makefile
··· 4 4 # the kernel for the build process. 5 5 # --------------------------------------------------------------------------- 6 6 # kallsyms: Find all symbols in vmlinux 7 - # conmakehash: Create chartable 8 - # conmakehash: Create arrays for initializing the kernel console tables 9 7 10 8 HOST_EXTRACFLAGS += -I$(srctree)/tools/include 11 9 12 10 hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c 13 11 hostprogs-$(CONFIG_KALLSYMS) += kallsyms 14 - hostprogs-$(CONFIG_VT) += conmakehash 15 12 hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount 16 13 hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable 17 14 hostprogs-$(CONFIG_ASN1) += asn1_compiler
scripts/conmakehash.c drivers/tty/vt/conmakehash.c