mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
powerpc/64: Allow CONFIG_RELOCATABLE if COMPILE_TEST
This was a hack we added to work around the allmodconfig build breaking, see commitfb43e8477e
("powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64"). Since we merged the thin archives support in commit43c9127d94
("powerpc: Add option to use thin archives") this hasn't been necessary, so remove it. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
8915bcd68b
commit
084a275e4c
@ -540,7 +540,7 @@ config KEXEC_FILE
|
|||||||
|
|
||||||
config RELOCATABLE
|
config RELOCATABLE
|
||||||
bool "Build a relocatable kernel"
|
bool "Build a relocatable kernel"
|
||||||
depends on (PPC64 && !COMPILE_TEST) || (FLATMEM && (44x || FSL_BOOKE))
|
depends on PPC64 || (FLATMEM && (44x || FSL_BOOKE))
|
||||||
select NONSTATIC_KERNEL
|
select NONSTATIC_KERNEL
|
||||||
select MODULE_REL_CRCS if MODVERSIONS
|
select MODULE_REL_CRCS if MODVERSIONS
|
||||||
help
|
help
|
||||||
@ -574,7 +574,7 @@ config RELOCATABLE_TEST
|
|||||||
config CRASH_DUMP
|
config CRASH_DUMP
|
||||||
bool "Build a kdump crash kernel"
|
bool "Build a kdump crash kernel"
|
||||||
depends on PPC64 || 6xx || FSL_BOOKE || (44x && !SMP)
|
depends on PPC64 || 6xx || FSL_BOOKE || (44x && !SMP)
|
||||||
select RELOCATABLE if (PPC64 && !COMPILE_TEST) || 44x || FSL_BOOKE
|
select RELOCATABLE if PPC64 || 44x || FSL_BOOKE
|
||||||
help
|
help
|
||||||
Build a kernel suitable for use as a kdump capture kernel.
|
Build a kernel suitable for use as a kdump capture kernel.
|
||||||
The same kernel binary can be used as production kernel and dump
|
The same kernel binary can be used as production kernel and dump
|
||||||
|
Loading…
Reference in New Issue
Block a user