mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
powerpc: add BR2_POWERPC_CPU_HAS_SPE to replace adhoc deps/checks
Signed-off-by: Cody P Schafer <cody@linux.vnet.ibm.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
89e934baab
commit
b4c824562b
@ -1,3 +1,6 @@
|
|||||||
|
config BR2_POWERPC_CPU_HAS_SPE
|
||||||
|
bool
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Target Architecture Variant"
|
prompt "Target Architecture Variant"
|
||||||
depends on BR2_powerpc || BR2_powerpc64le
|
depends on BR2_powerpc || BR2_powerpc64le
|
||||||
@ -62,8 +65,10 @@ config BR2_powerpc_970
|
|||||||
bool "970"
|
bool "970"
|
||||||
config BR2_powerpc_8540
|
config BR2_powerpc_8540
|
||||||
bool "8540 / e500v1"
|
bool "8540 / e500v1"
|
||||||
|
select BR2_POWERPC_CPU_HAS_SPE
|
||||||
config BR2_powerpc_8548
|
config BR2_powerpc_8548
|
||||||
bool "8548 / e500v2"
|
bool "8548 / e500v2"
|
||||||
|
select BR2_POWERPC_CPU_HAS_SPE
|
||||||
config BR2_powerpc_e300c2
|
config BR2_powerpc_e300c2
|
||||||
bool "e300c2"
|
bool "e300c2"
|
||||||
config BR2_powerpc_e300c3
|
config BR2_powerpc_e300c3
|
||||||
@ -75,17 +80,17 @@ endchoice
|
|||||||
choice
|
choice
|
||||||
prompt "Target ABI"
|
prompt "Target ABI"
|
||||||
depends on BR2_powerpc || BR2_powerpc64le
|
depends on BR2_powerpc || BR2_powerpc64le
|
||||||
default BR2_powerpc_SPE if BR2_powerpc_8540 || BR2_powerpc_8548
|
default BR2_powerpc_SPE if BR2_POWERPC_CPU_HAS_SPE
|
||||||
default BR2_powerpc_CLASSIC
|
default BR2_powerpc_CLASSIC
|
||||||
help
|
help
|
||||||
Application Binary Interface to use
|
Application Binary Interface to use
|
||||||
|
|
||||||
config BR2_powerpc_CLASSIC
|
config BR2_powerpc_CLASSIC
|
||||||
bool "Classic"
|
bool "Classic"
|
||||||
depends on !(BR2_powerpc_8540 || BR2_powerpc_8548)
|
depends on !BR2_POWERPC_CPU_HAS_SPE
|
||||||
config BR2_powerpc_SPE
|
config BR2_powerpc_SPE
|
||||||
bool "SPE"
|
bool "SPE"
|
||||||
depends on BR2_powerpc_8540 || BR2_powerpc_8548
|
depends on BR2_POWERPC_CPU_HAS_SPE
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config BR2_POWERPC_SOFT_FLOAT
|
config BR2_POWERPC_SOFT_FLOAT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user