MIPS: target architecture variants select the appropriate CPU ISA
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Fri, 30 Sep 2016 09:36:48 +0000 (10:36 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 15 Oct 2016 11:22:17 +0000 (13:22 +0200)
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arch/Config.in.mips

index 5e97fd016f3a9c1ca870b5c34cdb57584a3db9d0..8771cd57d8b0c5e86ea80efea5c5f88b71e37f6d 100644 (file)
@@ -26,21 +26,27 @@ choice
 config BR2_mips_32
        bool "mips 32"
        depends on !BR2_ARCH_IS_64
+       select BR2_MIPS_CPU_MIPS32
 config BR2_mips_32r2
        bool "mips 32r2"
        depends on !BR2_ARCH_IS_64
+       select BR2_MIPS_CPU_MIPS32R2
 config BR2_mips_32r6
        bool "mips 32r6"
        depends on !BR2_ARCH_IS_64
+       select BR2_MIPS_CPU_MIPS32R6
 config BR2_mips_64
        bool "mips 64"
        depends on BR2_ARCH_IS_64
+       select BR2_MIPS_CPU_MIPS64
 config BR2_mips_64r2
        bool "mips 64r2"
        depends on BR2_ARCH_IS_64
+       select BR2_MIPS_CPU_MIPS64R2
 config BR2_mips_64r6
        bool "mips 64r6"
        depends on BR2_ARCH_IS_64
+       select BR2_MIPS_CPU_MIPS64R6
 endchoice