]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
kbuild: userprogs: avoid duplication of flags inherited from kernel
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Wed, 13 Aug 2025 05:43:40 +0000 (07:43 +0200)
committerNathan Chancellor <nathan@kernel.org>
Mon, 18 Aug 2025 17:42:58 +0000 (10:42 -0700)
commit2d0ec4a9319c5207fdd2359e8543ef35012e8d4e
tree13443e67f36242b20874943861ca00a76633d483
parent27758d8c2583d10472b745a43ff86fef96c11ef7
kbuild: userprogs: avoid duplication of flags inherited from kernel

The duplication makes maintenance harder. Changes need to be done in two
places and the lines will grow overly long.

Use an intermediary variable instead.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
Acked-by: Masahiro Yamada <masahiroy@kernel.org>
Link: https://lore.kernel.org/r/20250813-kbuild-userprogs-bits-v1-1-2d9f7f411083@linutronix.de
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Makefile