um: Make CONFIG_STATIC_LINK actually static
authorBrendan Higgins <brendanhiggins@google.com>
Fri, 24 Jan 2020 22:14:01 +0000 (14:14 -0800)
committerRichard Weinberger <richard@nod.at>
Sun, 29 Mar 2020 21:51:24 +0000 (23:51 +0200)
commit3363179385629c1804ea846f4e72608c2201a81e
treeb495d1e6e83d72b0c9d1e29edcbf8e1902313c2f
parent5bef0a153bf29150357ff60283315a933f05c994
um: Make CONFIG_STATIC_LINK actually static

Currently, CONFIG_STATIC_LINK can be enabled with options which cannot
be statically linked, namely UML_NET_VECTOR, UML_NET_VDE, and
UML_NET_PCAP; this is because glibc tries to load NSS which does not
support being statically linked. So make CONFIG_STATIC_LINK depend on
!UML_NET_VECTOR && !UML_NET_VDE && !UML_NET_PCAP.

Link: https://lore.kernel.org/lkml/f658f317-be54-ed75-8296-c373c2dcc697@cambridgegreys.com/#t
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/Kconfig
arch/um/drivers/Kconfig