linux/drivers/tty/vt
Max Krummenacher 6e20753da6 tty: vt: conmakehash: cope with abs_srctree no longer in env
conmakehash uses getenv("abs_srctree") from the environment to strip
the absolute path from the generated sources.
However since commit e2bad142bb ("kbuild: unexport abs_srctree and
abs_objtree") this environment variable no longer gets set.
Instead use basename() to indicate the used file in a comment of the
generated source file.

Fixes: 3bd85c6c97 ("tty: vt: conmakehash: Don't mention the full path of the input in output")
Cc: stable <stable@kernel.org>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Link: https://lore.kernel.org/stable/20240725132056.9151-1-max.oss.09%40gmail.com
Link: https://lore.kernel.org/r/20240725132056.9151-1-max.oss.09@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-31 12:31:32 +02:00
..
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
conmakehash.c tty: vt: conmakehash: cope with abs_srctree no longer in env 2024-07-31 12:31:32 +02:00
consolemap.c drivers/tty/vt: use standard array-copy-functions 2023-11-25 07:23:16 +00:00
cp437.uni tty: fix up a few remaining files without SPDX identifiers 2019-04-04 18:48:43 +02:00
defkeymap.c_shipped tty/vt: defkeymap.c_shipped, little unification with loadkeys 2022-06-10 13:34:17 +02:00
defkeymap.map tty: fix up a few remaining files without SPDX identifiers 2019-04-04 18:48:43 +02:00
keyboard.c vt: keyboard: Use led_set_brightness() in LED trigger activate() callback 2024-06-04 14:00:53 +02:00
Makefile vt: remove superfluous CONFIG_HW_CONSOLE 2024-01-27 19:03:51 -08:00
selection.c tty: vt: fix up kernel-doc 2024-01-27 18:08:55 -08:00
vc_screen.c printk: Change type of CONFIG_BASE_SMALL to bool 2024-05-06 17:39:09 +02:00
vt_ioctl.c tty: vt: pass vc_resize_user as a parameter 2024-01-27 18:08:52 -08:00
vt.c tty: add the option to have a tty reject a new ldisc 2024-05-04 18:45:11 +02:00