]> www.infradead.org Git - users/jedix/linux-maple.git/commit
um: allow not setting extra rpaths in the linux binary
authorJohannes Berg <johannes.berg@intel.com>
Mon, 8 Mar 2021 13:02:37 +0000 (14:02 +0100)
committerRichard Weinberger <richard@nod.at>
Thu, 17 Jun 2021 19:54:15 +0000 (21:54 +0200)
commit386093c68ba3e8bcfe7f46deba901e0e80713c29
tree30d50917cbe514bff2ebf8d9180e6c4193a02b7b
parent43c590cb86665be702c0af0231a10ec813df9cfd
um: allow not setting extra rpaths in the linux binary

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>
arch/um/Kconfig
arch/um/Makefile
arch/x86/Makefile.um