Move device selection first in menuconfig (#18)
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Jan 2006 20:45:12 +0000 (20:45 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 10 Jan 2006 20:45:12 +0000 (20:45 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2880 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 5a1768b..94b7458 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 8353359..e51b1cf 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 5a6c11a..2dd2aba 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
This page took 0.034328 seconds and 4 git commands to generate.