Kconfig: Remove RELOCATABLE_MODULES.
RELOCATABLE_MODULES controls inclusion of rmodule support but including it without having anything that uses it is a pure waste of space. So instead make RELOCATABLE_MODULES be selected exactly when there is something using it. Change-Id: I377a955f0cd95b0f811b986df287864c3dc9f89a Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10377 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
ac12c66cf9
commit
633352c74a
|
@ -218,7 +218,7 @@ config COVERAGE
|
||||||
If unsure, say N.
|
If unsure, say N.
|
||||||
|
|
||||||
config RELOCATABLE_MODULES
|
config RELOCATABLE_MODULES
|
||||||
bool "Relocatable Modules"
|
bool
|
||||||
default n
|
default n
|
||||||
help
|
help
|
||||||
If RELOCATABLE_MODULES is selected then support is enabled for
|
If RELOCATABLE_MODULES is selected then support is enabled for
|
||||||
|
@ -226,9 +226,10 @@ config RELOCATABLE_MODULES
|
||||||
loaded anywhere and all the relocations are handled automatically.
|
loaded anywhere and all the relocations are handled automatically.
|
||||||
|
|
||||||
config RELOCATABLE_RAMSTAGE
|
config RELOCATABLE_RAMSTAGE
|
||||||
depends on (RELOCATABLE_MODULES && EARLY_CBMEM_INIT)
|
depends on EARLY_CBMEM_INIT
|
||||||
bool "Build the ramstage to be relocatable in 32-bit address space."
|
bool "Build the ramstage to be relocatable in 32-bit address space."
|
||||||
default n
|
default n
|
||||||
|
select RELOCATABLE_MODULES
|
||||||
help
|
help
|
||||||
The reloctable ramstage support allows for the ramstage to be built
|
The reloctable ramstage support allows for the ramstage to be built
|
||||||
as a relocatable module. The stage loader can identify a place
|
as a relocatable module. The stage loader can identify a place
|
||||||
|
|
Loading…
Reference in New Issue