Эх сурвалжийг харах

x86/platform: Make X86_GOLDFISH depend on X86_EXTENDED_PLATFORM

All non-PC platforms are supposed to be dependent on this
option.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: Jun Nakajima <jnakajim@gmail.com>
Link: http://lkml.kernel.org/n/tip-Bcihhqhstm67fchjnkxoiJbu@git.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Ben Hutchings 12 жил өмнө
parent
commit
cb7b80237a

+ 2 - 0
arch/x86/Kconfig

@@ -336,6 +336,7 @@ config X86_EXTENDED_PLATFORM
 
 
 	  If you enable this option then you'll be able to select support
 	  If you enable this option then you'll be able to select support
 	  for the following (non-PC) 32 bit x86 platforms:
 	  for the following (non-PC) 32 bit x86 platforms:
+		Goldfish (Android emulator)
 		AMD Elan
 		AMD Elan
 		NUMAQ (IBM/Sequent)
 		NUMAQ (IBM/Sequent)
 		RDC R-321x SoC
 		RDC R-321x SoC
@@ -410,6 +411,7 @@ config X86_UV
 config X86_GOLDFISH
 config X86_GOLDFISH
        bool "Goldfish (Virtual Platform)"
        bool "Goldfish (Virtual Platform)"
        depends on X86_32
        depends on X86_32
+       depends on X86_EXTENDED_PLATFORM
        ---help---
        ---help---
 	 Enable support for the Goldfish virtual platform used primarily
 	 Enable support for the Goldfish virtual platform used primarily
 	 for Android development. Unless you are building for the Android
 	 for Android development. Unless you are building for the Android