Disable MIPS64 ISAs for MIPS32 targets
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Fri, 3 Jan 2014 14:36:19 +0000 (14:36 +0000)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 3 Jan 2014 19:43:25 +0000 (20:43 +0100)
Currently you can select MIPS64 ISAs, like mips64 and mips64r2, for
MIPS32 targets. This is incorrect, so we disable the possibility to do
that.

Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Vicente Olivert Riera <vincent.riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/Config.in.mips

index 412120076bcb0f198f6cb47b705a57bdacde7c8b..9b3fff4c244c8eb0ce16dd09381d7769da4a3cdc 100644 (file)
@@ -29,8 +29,10 @@ config BR2_mips_32r2
        depends on !BR2_ARCH_IS_64
 config BR2_mips_64
        bool "mips 64"
+       depends on BR2_ARCH_IS_64
 config BR2_mips_64r2
        bool "mips 64r2"
+       depends on BR2_ARCH_IS_64
 endchoice