Move device selection first in menuconfig (#18)
authorFelix Fietkau <nbd@openwrt.org>
Tue, 10 Jan 2006 20:45:12 +0000 (20:45 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 10 Jan 2006 20:45:12 +0000 (20:45 +0000)
SVN-Revision: 2880

openwrt/Config.in
openwrt/target/Config.in
openwrt/target/linux/Config.in

index 5a1768b8d14779f507cb2d11ae5e9a5d00aa172c..94b74581b8668147f030882cd03cf8584eea8d6d 100644 (file)
@@ -95,6 +95,7 @@ config BR2_JLEVEL
        int
        default "1"
 
+source "target/Config.in"
 source "toolchain/Config.in"
 source "package/Config.in"
-source "target/Config.in"
+source "target/linux/Config.in"
index 8353359199aea1f161817b930da1ecd0682c0465..e51b1cfc73921c507f41e75f3f1590e97f5d4a33 100644 (file)
@@ -1,27 +1,65 @@
-menu "Target Root Filesystem"
+choice
+       prompt "Target System"
+       
+config BR2_LINUX_2_4_AR531X
+       bool "Atheros AR531x [2.4]"
+       default n
+       depends BR2_mips
+       help
+         Build firmware images for Atheros AR531x based boards
+         (e.g. Netgear WGT624, Linksys WRT55AG)
 
-       config BR2_TARGET_ROOTFS_JFFS2
-               bool "jffs2"
-               default y
-               help
-                 Build a jffs2 root filesystem
+config BR2_LINUX_2_4_BRCM
+       bool "Broadcom BCM47xx/53xx [2.4]"
+       default y
+       depends BR2_mipsel
+       select BR2_LINUX_PCMCIA_SUPPORT
+       help
+         Build firmware images for Broadcom based routers
+         (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
+         
+         This one builds the generic .trx images, activate one of the
+         options below for creating device specific files for use 
+         with TFTP client too. 
 
-       config BR2_TARGET_ROOTFS_SQUASHFS_LZMA
-               bool "squashfs-lzma"
-               default y
-               help
-                 Build a squashfs-lzma root filesystem
+config BR2_LINUX_2_6_BRCM
+       bool "Broadcom BCM47xx/53xx [2.6]"
+       default n
+       depends BR2_mipsel
+       select BR2_LINUX_PCMCIA_SUPPORT
+       help
+         Build firmware images for Broadcom based routers
+         (e.g. Netgear WGT634u)
 
-       config BR2_TARGET_ROOTFS_TGZ
-               bool "tgz"
-               default y
-               help
-                 Build a compressed tar archive of the the root filesystem
+config BR2_LINUX_2_4_AR7
+       bool "TI AR7 [2.4]"
+       default n
+       depends BR2_mipsel
+       help
+         Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
 
-endmenu
+config BR2_LINUX_2_4_X86
+       bool "x86 [2.4]"
+       default n
+       depends BR2_i386
+       select BR2_LINUX_PCMCIA_SUPPORT
+       help
+         Build firmware images for x86 based boards
+         (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
 
-menu "Kernel Configuration / Device Support"
+config BR2_LINUX_2_6_X86
+       bool "x86 [2.6]"
+       default n
+       depends BR2_i386
+       select BR2_LINUX_PCMCIA_SUPPORT
+       help
+         Build firmware images for x86 based boards
+         (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
 
-source "target/linux/Config.in"
+endchoice
+
+config BR2_LINUX_PCMCIA_SUPPORT
+       bool
+       default n
+       depends BR2_LINUX_2_4_X86 || BR2_LINUX_2_4_BRCM || BR2_LINUX_2_6_X86 || BR2_LINUX_2_6_BRCM
 
-endmenu
index 5a6c11a0f18afaa5d18199077f8c38ba727d1f58..2dd2aba1de31fdde28cf62af447125ae9a712735 100644 (file)
@@ -1,75 +1,31 @@
-choice
-       prompt "Target system"
-       
-config BR2_LINUX_2_4_BRCM
-       bool "Support for Broadcom based routers [2.4]"
-       default y
-       depends BR2_mipsel
-       select BR2_LINUX_PCMCIA_SUPPORT
-       help
-         Build firmware images for Broadcom based routers
-         (e.g. Linksys WRT54G(S), Asus WL-500g, Motorola WR850G)
-         
-         This one builds the generic .trx images, activate one of the
-         options below for creating device specific files for use 
-         with TFTP client too. 
+menu "Target Root Filesystem"
 
-config BR2_LINUX_2_4_AR7
-       bool "Support for TI AR7 based devices [2.4]"
-       default n
-       depends BR2_mipsel
-       help
-         Build firmware images for TI AR7 based routers (w.g. Linksys WAG54G v2)
+       config BR2_TARGET_ROOTFS_JFFS2
+               bool "jffs2"
+               default y
+               help
+                 Build a jffs2 root filesystem
 
-config BR2_LINUX_2_4_X86
-       bool "Support for x86 boards [2.4]"
-       default n
-       depends BR2_i386
-       select BR2_LINUX_PCMCIA_SUPPORT
-       help
-         Build firmware images for x86 based boards
-         (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
+       config BR2_TARGET_ROOTFS_SQUASHFS_LZMA
+               bool "squashfs-lzma"
+               default y
+               help
+                 Build a squashfs-lzma root filesystem
 
-config BR2_LINUX_2_6_BRCM
-       bool "Support for Broadcom based routers [2.6]"
-       default n
-       depends BR2_mipsel
-       select BR2_LINUX_PCMCIA_SUPPORT
-       help
-         Build firmware images for Broadcom based routers
-         (e.g. Netgear WGT634u)
+       config BR2_TARGET_ROOTFS_TGZ
+               bool "tgz"
+               default y
+               help
+                 Build a compressed tar archive of the the root filesystem
 
-config BR2_LINUX_2_6_X86
-       bool "Support for x86 boards [2.6]"
-       default n
-       depends BR2_i386
-       select BR2_LINUX_PCMCIA_SUPPORT
-       help
-         Build firmware images for x86 based boards
-         (e.g. Soekris net4521 and net4801, PC Engines WRAP...)
-
-config BR2_LINUX_2_4_AR531X
-       bool "Support for Atheros ar531x based APs"
-       default n
-       depends BR2_mips
-       help
-         Build firmware images for Atheros ar531x based boards
-         (e.g. Netgear WGT624, Linksys WRT55AG)
-
-endchoice
-
-
-config BR2_LINUX_PCMCIA_SUPPORT
-       bool
-       default n
-       depends BR2_LINUX_2_4_X86 || BR2_LINUX_2_4_BRCM || BR2_LINUX_2_6_X86 || BR2_LINUX_2_6_BRCM
+endmenu
 
+menu "Kernel Configuration / Device Support"
 
 comment "Device specific modules"
 
 source "target/linux/*-2.[46]/Config.in"
 
-
 comment "Networking modules"
 
 config BR2_PACKAGE_KMOD_ATM
@@ -773,3 +729,5 @@ config BR2_PACKAGE_KMOD_WD1100
 comment "Additional kernel modules"
 
 source "target/linux/package/Config.in"
+
+endmenu