summaryrefslogtreecommitdiff
path: root/nuttx/arch/rgmp
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-17 21:23:10 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-17 21:23:10 +0000
commit942056a7ad6f83137c05c73ecfc1a89fc6deed95 (patch)
tree8ebe6c91089bb929a82677442351231c1c83e286 /nuttx/arch/rgmp
parent0951d2fa8ffc6d0dc4bdaf1db205f46128ce4337 (diff)
downloadpx4-nuttx-942056a7ad6f83137c05c73ecfc1a89fc6deed95.tar.gz
px4-nuttx-942056a7ad6f83137c05c73ecfc1a89fc6deed95.tar.bz2
px4-nuttx-942056a7ad6f83137c05c73ecfc1a89fc6deed95.zip
More Kconfig
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4625 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/rgmp')
-rw-r--r--nuttx/arch/rgmp/Kconfig24
1 files changed, 24 insertions, 0 deletions
diff --git a/nuttx/arch/rgmp/Kconfig b/nuttx/arch/rgmp/Kconfig
index ae2bf3130..7cc5fcc97 100644
--- a/nuttx/arch/rgmp/Kconfig
+++ b/nuttx/arch/rgmp/Kconfig
@@ -2,3 +2,27 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
+
+if ARCH_RGMP
+choice
+ prompt "RGMP Architecture"
+ default RGMP_SUBARCH_X86
+
+config RGMP_SUBARCH_ARM
+ bool "ARM"
+ ---help---
+ RGMP ARM architecture"
+
+config RGMP_SUBARCH_X86
+ bool "x86"
+ ---help---
+ RGMP x86 architecture"
+
+endchoice
+
+config RGMP_SUBARCH
+ string
+ default "arm" if RGMP_SUBARCH_ARM
+ default "x86" if RGMP_SUBARCH_X86
+
+endif