Kconfig (4b786e24ca80a492736b359b3d1a8d07612a78e5) | Kconfig (3363179385629c1804ea846f4e72608c2201a81e) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2 3menu "UML-specific options" 4 5config UML 6 bool 7 default y 8 select ARCH_HAS_KCOV --- 48 unchanged lines hidden (view full) --- 57 58config NR_CPUS 59 int 60 range 1 1 61 default 1 62 63source "arch/$(HEADER_ARCH)/um/Kconfig" 64 | 1# SPDX-License-Identifier: GPL-2.0 2 3menu "UML-specific options" 4 5config UML 6 bool 7 default y 8 select ARCH_HAS_KCOV --- 48 unchanged lines hidden (view full) --- 57 58config NR_CPUS 59 int 60 range 1 1 61 default 1 62 63source "arch/$(HEADER_ARCH)/um/Kconfig" 64 |
65config FORBID_STATIC_LINK 66 bool 67 |
|
65config STATIC_LINK 66 bool "Force a static link" | 68config STATIC_LINK 69 bool "Force a static link" |
67 default n | 70 depends on !FORBID_STATIC_LINK |
68 help 69 This option gives you the ability to force a static link of UML. 70 Normally, UML is linked as a shared binary. This is inconvenient for 71 use in a chroot jail. So, if you intend to run UML inside a chroot, 72 you probably want to say Y here. 73 Additionally, this option enables using higher memory spaces (up to 74 2.75G) for UML. 75 | 71 help 72 This option gives you the ability to force a static link of UML. 73 Normally, UML is linked as a shared binary. This is inconvenient for 74 use in a chroot jail. So, if you intend to run UML inside a chroot, 75 you probably want to say Y here. 76 Additionally, this option enables using higher memory spaces (up to 77 2.75G) for UML. 78 |
79 NOTE: This option is incompatible with some networking features which 80 depend on features that require being dynamically loaded (like NSS). 81 |
|
76config LD_SCRIPT_STATIC 77 bool 78 default y 79 depends on STATIC_LINK 80 81config LD_SCRIPT_DYN 82 bool 83 default y --- 123 unchanged lines hidden --- | 82config LD_SCRIPT_STATIC 83 bool 84 default y 85 depends on STATIC_LINK 86 87config LD_SCRIPT_DYN 88 bool 89 default y --- 123 unchanged lines hidden --- |