kernel_samsung_a53x/arch/um
Johannes Berg 89a6d021f1 um: allow not setting extra rpaths in the linux binary
[ Upstream commit 386093c68ba3e8bcfe7f46deba901e0e80713c29 ]

There doesn't seem to be any reason for the rpath being set in
the binaries, at on systems that I tested on. On the other hand,
setting rpath is actually harming binaries in some cases, e.g.
if using nix-based compilation environments where /lib & /lib64
are not part of the actual environment.

Add a new Kconfig option (under EXPERT, for less user confusion)
that allows disabling the rpath additions.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Stable-dep-of: 846cfbeed09b ("um: Fix adding '-no-pie' for clang")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 23:19:35 +01:00
..
configs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
drivers um: net: Fix return type of uml_net_start_xmit() 2024-11-18 12:13:19 +01:00
include um: Fix naming clash between UML and scheduler 2024-11-18 12:13:19 +01:00
kernel um: Fix naming clash between UML and scheduler 2024-11-18 12:13:19 +01:00
os-Linux um: Don't use vfprintf() for os_info() 2024-11-18 12:13:19 +01:00
scripts Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig um: allow not setting extra rpaths in the linux binary 2024-11-18 23:19:35 +01:00
Kconfig.debug Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile um: allow not setting extra rpaths in the linux binary 2024-11-18 23:19:35 +01:00
Makefile-os-Linux Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile-skas Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00