Changeset 3225

Show
Ignore:
Timestamp:
07/16/07 13:42:07 (1 year ago)
Author:
tg
Message:

wbx wanted to be able to select the kernel separately from the
target, here it is – nokernel targets aren't converted because
they don't build a kernel or modules right now, and that would
be some major effort again

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/target/Config.in

    r3218 r3225  
    3535endchoice 
    3636 
     37config FWRT_TARGET_CAN_LINUX_2_4 
     38        bool 
     39        default n 
     40 
     41config FWRT_TARGET_CAN_LINUX_2_6 
     42        bool 
     43        default n 
     44 
    3745choice  
    3846prompt "Embedded Device" 
     47 
     48# 
     49# brcm-2.4, brcm-2.6 
     50# 
     51config FWRT_DEVICE_BRCM_ASUS_WL500G 
     52        depends on FWRT_TARGET_CATEGORY_MIPS 
     53        depends on FWRT_END_OF_LIFE 
     54        bool "Asus WL500g" 
     55        select FWRT_TARGET_CAN_LINUX_2_4 
     56        select !FWRT_TARGET_CAN_LINUX_2_6 
     57        help 
     58          Asus WL500g 
     59 
     60config FWRT_DEVICE_BRCM_ASUS_WL500G_DELUXE 
     61        depends on FWRT_TARGET_CATEGORY_MIPS 
     62        depends on FWRT_END_OF_LIFE 
     63        bool "Asus WL500g Deluxe" 
     64        select FWRT_TARGET_CAN_LINUX_2_4 
     65        select !FWRT_TARGET_CAN_LINUX_2_6 
     66        help 
     67          Asus WL500g Deluxe 
     68 
     69config FWRT_DEVICE_BRCM_ASUS_WL500G_PREMIUM 
     70        depends on FWRT_TARGET_CATEGORY_MIPS 
     71        bool "Asus WL500g Premium" 
     72        select FWRT_TARGET_CAN_LINUX_2_4 
     73        select FWRT_TARGET_CAN_LINUX_2_6 if FWRT_DEVEL 
     74        select !FWRT_TARGET_CAN_LINUX_2_6 if !FWRT_DEVEL 
     75        help 
     76          Asus WL500g Premium 
     77 
     78config FWRT_DEVICE_BRCM_LINKSYS_WRT54G 
     79        depends on FWRT_TARGET_CATEGORY_MIPS 
     80        bool "Linksys WRT54GL" 
     81        select FWRT_TARGET_CAN_LINUX_2_4 
     82        select !FWRT_TARGET_CAN_LINUX_2_6 
     83        help 
     84          Linksys WRT54GL 
     85 
     86config FWRT_DEVICE_BRCM_LINKSYS_WRT54GS 
     87        depends on FWRT_TARGET_CATEGORY_MIPS 
     88        depends on FWRT_END_OF_LIFE 
     89        bool "Linksys WRT54GS v1.0/1.1" 
     90        select FWRT_TARGET_CAN_LINUX_2_4 
     91        select !FWRT_TARGET_CAN_LINUX_2_6 
     92        help 
     93          Linksys WRT54GS v1.0 with 8 MiB flash 
     94          Linksys WRT54GS v1.1 with 8 MiB flash 
     95 
     96config FWRT_DEVICE_BRCM_LINKSYS_WRT54GS_4 
     97        depends on FWRT_TARGET_CATEGORY_MIPS 
     98        depends on FWRT_END_OF_LIFE 
     99        bool "Linksys WRT54GS v4" 
     100        select FWRT_TARGET_CAN_LINUX_2_4 
     101        select !FWRT_TARGET_CAN_LINUX_2_6 
     102        help 
     103          Linksys WRT54GS v4 with 4 MiB flash 
     104 
     105config FWRT_DEVICE_BRCM_LINKSYS_WRT54G3G 
     106        depends on FWRT_TARGET_CATEGORY_MIPS 
     107        bool "Linksys WRT54G3G" 
     108        select FWRT_TARGET_CAN_LINUX_2_4 
     109        select !FWRT_TARGET_CAN_LINUX_2_6 
     110        help 
     111          Linksys WRT54G3G 
     112 
     113config FWRT_DEVICE_BRCM_NETGEAR_WGT634U 
     114        depends on FWRT_TARGET_CATEGORY_MIPS 
     115        bool "Netgear WGT634U" 
     116        select FWRT_TARGET_CAN_LINUX_2_4 
     117        select FWRT_TARGET_CAN_LINUX_2_6 if FWRT_DEVEL 
     118        select !FWRT_TARGET_CAN_LINUX_2_6 if !FWRT_DEVEL 
     119        help 
     120          Netgear WGT634U 
     121 
     122# 
     123# rb-2.4, rb-2.6 
     124# 
     125config FWRT_DEVICE_RB_RB532 
     126        depends on FWRT_TARGET_CATEGORY_MIPS 
     127        bool "Mikrotik RouterBoard 532" 
     128        select FWRT_TARGET_CAN_LINUX_2_4 
     129        select FWRT_TARGET_CAN_LINUX_2_6 
     130        help 
     131          Mikrotik RouterBoard 532 
     132          http://www.routerboard.com/ 
     133 
     134# 
     135# i386-2.4, i386-2.6 
     136# 
     137config FWRT_DEVICE_X86_WRAP 
     138        depends on FWRT_TARGET_CATEGORY_I386 
     139        depends on FWRT_DEVEL 
     140        bool "PC Engines WRAP" 
     141        select FWRT_TARGET_CAN_LINUX_2_4 
     142        select FWRT_TARGET_CAN_LINUX_2_6 
     143        help 
     144          WRAP 
     145          http://www.pcengines.ch/ 
     146 
     147config FWRT_DEVICE_X86_CRYPTOTOKEN 
     148        depends on FWRT_TARGET_CATEGORY_I386 
     149        depends on FWRT_DEVEL 
     150        bool "initramfs with cryptotoken tools" 
     151        select !FWRT_TARGET_CAN_LINUX_2_4 
     152        select FWRT_TARGET_CAN_LINUX_2_6 
     153        help 
     154          Initramfs with tools for cryptotokens. 
     155          Virtual target. 
     156 
     157# 
     158# virtual targets (userland only) 
     159# 
     160source "target/linux/nokernel/Config.in" 
     161 
     162endchoice 
     163 
    39164source "target/linux/brcm-2.4/Config.in" 
    40165source "target/linux/brcm-2.6/Config.in" 
     
    43168source "target/linux/x86-2.4/Config.in" 
    44169source "target/linux/x86-2.6/Config.in" 
    45 source "target/linux/nokernel/Config.in" 
     170 
     171choice 
     172prompt "Kernel" 
     173        default FWRT_TARGET_WITH_LINUX_2_4 
     174 
     175config FWRT_TARGET_WITH_LINUX_2_4 
     176        bool "Linux 2.4.x" 
     177        depends on FWRT_TARGET_CAN_LINUX_2_4 
     178 
     179config FWRT_TARGET_WITH_LINUX_2_6 
     180        bool "Linux 2.6.x" 
     181        depends on FWRT_TARGET_CAN_LINUX_2_6 
     182 
    46183endchoice 
    47184 
  • trunk/freewrt/target/linux/brcm-2.4/Config.in

    r3219 r3225  
    11config FWRT_LINUX_2_4_BRCM_ASUS_WL500G 
    2         depends on FWRT_TARGET_CATEGORY_MIPS 
    3         bool "Asus WL500g [Linux 2.4]" 
     2        bool 
     3        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_BRCM_ASUS_WL500G 
     4        default n 
    45        select FWRT_mipsel 
    56        select FWRT_LINUX_2_4 
     
    1112        select FWRT_PACKAGE_BROADCOM_WL_UTIL if !FWRT_DEVEL 
    1213        select FWRT_PACKAGE_WIRELESS_TOOLS if !FWRT_DEVEL 
    13         depends FWRT_END_OF_LIFE 
    14         help 
    15           Asus WL500g deluxe 
    1614 
    1715config FWRT_LINUX_2_4_BRCM_ASUS_WL500G_DELUXE 
    18         depends on FWRT_TARGET_CATEGORY_MIPS 
    19         bool "Asus WL500g deluxe [Linux 2.4]" 
     16        bool 
     17        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_BRCM_ASUS_WL500G_DELUXE 
     18        default n 
    2019        select FWRT_mipsel 
    2120        select FWRT_LINUX_2_4 
     
    2928        select FWRT_PACKAGE_BROADCOM_WL_UTIL 
    3029        select FWRT_PACKAGE_WIRELESS_TOOLS 
    31         depends FWRT_END_OF_LIFE 
    32         help 
    33           Asus WL500g deluxe 
    3430 
    3531config FWRT_LINUX_2_4_BRCM_ASUS_WL500G_PREMIUM 
    36         depends on FWRT_TARGET_CATEGORY_MIPS 
    37         bool "Asus WL500g premium [Linux 2.4]" 
     32        bool 
     33        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_BRCM_ASUS_WL500G_PREMIUM 
     34        default n 
    3835        select FWRT_mipsel 
    3936        select FWRT_LINUX_2_4 
     
    4744        select FWRT_PACKAGE_BROADCOM_WL_UTIL if !FWRT_DEVEL 
    4845        select FWRT_PACKAGE_WIRELESS_TOOLS if !FWRT_DEVEL 
    49         help 
    50           Asus WL500g premium 
    5146 
    5247config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G 
    53         depends on FWRT_TARGET_CATEGORY_MIPS 
    54         bool "Linksys WRT54GL [Linux 2.4]" 
     48        bool 
     49        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_BRCM_LINKSYS_WRT54G 
     50        default n 
    5551        select FWRT_mipsel 
    5652        select FWRT_LINUX_2_4 
     
    6561        select FWRT_PACKAGE_BROADCOM_WL_UTIL 
    6662        select FWRT_PACKAGE_WIRELESS_TOOLS 
    67         help 
    68           Linksys WRT54GL 
    6963 
    7064config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS 
    71         depends on FWRT_TARGET_CATEGORY_MIPS 
    72         bool "Linksys WRT54GS v1.0/v1.1 (8MB Flash) [Linux 2.4]" 
     65        bool 
     66        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_BRCM_LINKSYS_WRT54GS 
     67        default n 
    7368        select FWRT_mipsel 
    7469        select FWRT_LINUX_2_4 
     
    8378        select FWRT_PACKAGE_BROADCOM_WL_UTIL 
    8479        select FWRT_PACKAGE_WIRELESS_TOOLS 
    85         depends FWRT_END_OF_LIFE 
    86         help 
    87           Linksys WRT54GS v1.0 
    88           Linksys WRT54GS v1.1 
    8980 
    9081config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_4 
    91         depends on FWRT_TARGET_CATEGORY_MIPS 
    92         bool "Linksys WRT54GS v4 (4MB flash) [Linux 2.4]" 
     82        bool 
     83        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_BRCM_LINKSYS_WRT54GS_4 
     84        default n 
    9385        select FWRT_mipsel 
    9486        select FWRT_LINUX_2_4 
     
    10294        select FWRT_PACKAGE_BROADCOM_WL_UTIL 
    10395        select FWRT_PACKAGE_WIRELESS_TOOLS 
    104         depends FWRT_END_OF_LIFE 
    105         help 
    106           Linksys WRT54GS v4 
    10796 
    10897config FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G3G 
    109         depends on FWRT_TARGET_CATEGORY_MIPS 
    110         bool "Linksys WRT54G3G [Linux 2.4]" 
     98        bool 
     99        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_BRCM_LINKSYS_WRT54G3G 
     100        default n 
    111101        select FWRT_mipsel 
    112102        select FWRT_LINUX_2_4 
     
    120110        select FWRT_PACKAGE_BROADCOM_WL_UTIL 
    121111        select FWRT_PACKAGE_WIRELESS_TOOLS 
    122         help 
    123           Linksys WRT54G3G 
    124112 
    125113config FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U 
    126         depends on FWRT_TARGET_CATEGORY_MIPS 
    127         bool "Netgear WGT634U [Linux 2.4]" 
     114        bool 
     115        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_BRCM_NETGEAR_WGT634U 
     116        default n 
    128117        select FWRT_mipsel 
    129118        select FWRT_LINUX_2_4 
     
    134123        select FWRT_PACKAGE_KMOD_BROADCOM_SWITCH_ROBO 
    135124        select FWRT_PACKAGE_WIRELESS_TOOLS 
    136         help 
    137           Netgear WGT634U 
  • trunk/freewrt/target/linux/brcm-2.6/Config.in

    r2927 r3225  
    11config FWRT_LINUX_2_6_BRCM_ASUS_WL500G_PREMIUM 
    2         depends on FWRT_TARGET_CATEGORY_MIPS 
    3         bool "Asus WL500g Premium [Linux 2.6]" 
     2        bool 
     3        default y if FWRT_TARGET_WITH_LINUX_2_6 && FWRT_DEVICE_BRCM_ASUS_WL500G_PREMIUM 
     4        default n 
    45        select FWRT_mipsel 
    56        select FWRT_LINUX_2_6 
     
    89        select BUSYBOX_CONFIG_FEATURE_MDEV_CONF 
    910        select BUSYBOX_CONFIG_FEATURE_MDEV_EXEC 
    10         depends FWRT_DEVEL 
    11         help 
    12           Asus WL500g Premium 
    1311 
    1412config FWRT_LINUX_2_6_BRCM_NETGEAR_WGT634U 
    15         depends on FWRT_TARGET_CATEGORY_MIPS 
    16         bool "Netgear WGT634U [Linux 2.6]" 
     13        bool 
     14        default y if FWRT_TARGET_WITH_LINUX_2_6 && FWRT_DEVICE_BRCM_NETGEAR_WGT634U 
     15        default n 
    1716        select FWRT_mipsel 
    1817        select FWRT_LINUX_2_6 
     
    2120        select BUSYBOX_CONFIG_FEATURE_MDEV_CONF 
    2221        select BUSYBOX_CONFIG_FEATURE_MDEV_EXEC 
    23         depends FWRT_DEVEL 
    24         help 
    25           Netgear WGT634U 
    26  
  • trunk/freewrt/target/linux/nokernel/Config.in

    r3051 r3225  
     1#XXX these are 2.4-only for now 
     2 
    13config FWRT_LINUX_NOKERNEL_ARM 
    2         bool "arm nokernel
     4        bool "arm
    35        depends on FWRT_DEVEL 
    46        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
    57        select FWRT_TARGET_NOKERNEL 
    68        select FWRT_arm 
     9        select FWRT_TARGET_CAN_LINUX_2_4 
     10        select !FWRT_TARGET_CAN_LINUX_2_6 
    711        help 
    812          This is a target which does not build a kernel, root filesy- 
     
    1317 
    1418config FWRT_LINUX_NOKERNEL_ARMEB 
    15         bool "armeb nokernel
     19        bool "armeb
    1620        depends on FWRT_DEVEL 
    1721        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
    1822        select FWRT_TARGET_NOKERNEL 
    1923        select FWRT_armeb 
     24        select FWRT_TARGET_CAN_LINUX_2_4 
     25        select !FWRT_TARGET_CAN_LINUX_2_6 
    2026        help 
    2127          This is a target which does not build a kernel, root filesy- 
     
    2632 
    2733config FWRT_LINUX_NOKERNEL_AVR32 
    28         bool "avr32 nokernel
     34        bool "avr32
    2935        depends on FWRT_DEVEL 
    3036        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
    3137        select FWRT_TARGET_NOKERNEL 
    3238        select FWRT_avr32 
     39        select FWRT_TARGET_CAN_LINUX_2_4 
     40        select !FWRT_TARGET_CAN_LINUX_2_6 
    3341        help 
    3442          This is a target which does not build a kernel, root filesy- 
     
    3947 
    4048config FWRT_LINUX_NOKERNEL_CRIS 
    41         bool "cris nokernel
     49        bool "cris
    4250        depends on FWRT_DEVEL 
    4351        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
    4452        select FWRT_TARGET_NOKERNEL 
    4553        select FWRT_cris 
     54        select FWRT_TARGET_CAN_LINUX_2_4 
     55        select !FWRT_TARGET_CAN_LINUX_2_6 
    4656        help 
    4757          This is a target which does not build a kernel, root filesy- 
     
    4959          Where a kernel is required, Linux 2.4 will be used. 
    5060           
    51           This option selects the little-endian 32-bit AVR platform. 
    52  
     61          This option selects the little-endian 32-bit CRIS platform. 
    5362 
    5463config FWRT_LINUX_NOKERNEL_I386 
    55         bool "i386 nokernel
     64        bool "i386
    5665        depends on FWRT_DEVEL 
    5766        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
    5867        select FWRT_TARGET_NOKERNEL 
    5968        select FWRT_i386 
     69        select FWRT_TARGET_CAN_LINUX_2_4 
     70        select !FWRT_TARGET_CAN_LINUX_2_6 
    6071        help 
    6172          This is a target which does not build a kernel, root filesy- 
     
    6677 
    6778config FWRT_LINUX_NOKERNEL_MIPS 
    68         bool "mipsel nokernel
     79        bool "mipsel
    6980        depends on FWRT_DEVEL 
    7081        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
    7182        select FWRT_TARGET_NOKERNEL 
    7283        select FWRT_mipsel 
     84        select FWRT_TARGET_CAN_LINUX_2_4 
     85        select !FWRT_TARGET_CAN_LINUX_2_6 
    7386        help 
    7487          This is a target which does not build a kernel, root filesy- 
     
    7992 
    8093config FWRT_LINUX_NOKERNEL_POWERPC 
    81         bool "powerpc nokernel
     94        bool "powerpc
    8295        depends on FWRT_DEVEL 
    8396        depends on FWRT_TARGET_CATEGORY_NOKERNEL 
    8497        select FWRT_TARGET_NOKERNEL 
    8598        select FWRT_powerpc 
     99        select FWRT_TARGET_CAN_LINUX_2_4 
     100        select !FWRT_TARGET_CAN_LINUX_2_6 
    86101        help 
    87102          This is a target which does not build a kernel, root filesy- 
  • trunk/freewrt/target/linux/rb-2.4/Config.in

    r2927 r3225  
    11config FWRT_LINUX_2_4_RB_RB532 
    2         depends on FWRT_TARGET_CATEGORY_MIPS 
    3         bool "Mikrotik RouterBoard 532 [Linux 2.4]" 
     2        bool 
     3        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_RB_RB532 
     4        default n 
    45        select FWRT_mipsel 
    56        select FWRT_LINUX_2_4 
    67        select FWRT_LINUX_2_4_RB 
    7         help 
    8           Mikrotik RouterBoard 532 
    9           http://www.routerboard.com/ 
    10  
  • trunk/freewrt/target/linux/rb-2.6/Config.in

    r2927 r3225  
    11config FWRT_LINUX_2_6_RB_RB532 
    2         depends on FWRT_TARGET_CATEGORY_MIPS 
    3         bool "Mikrotik RouterBoard 532 [Linux 2.6]" 
     2        bool 
     3        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_RB_RB532 
     4        default n 
    45        select FWRT_mipsel 
    56        select FWRT_LINUX_2_6 
     
    89        select BUSYBOX_CONFIG_FEATURE_MDEV_CONF 
    910        select BUSYBOX_CONFIG_FEATURE_MDEV_EXEC 
    10         help 
    11           Mikrotik RouterBoard 532 
    12           http://www.routerboard.com/ 
    13  
  • trunk/freewrt/target/linux/x86-2.4/Config.in

    r2927 r3225  
    11config FWRT_LINUX_2_4_X86_WRAP 
    2         depends on FWRT_TARGET_CATEGORY_I386 
    3         bool "PC Engines WRAP [Linux 2.4]" 
     2        bool 
     3        default y if FWRT_TARGET_WITH_LINUX_2_4 && FWRT_DEVICE_X86_WRAP 
     4        default n 
    45        select FWRT_i386 
    56        select FWRT_LINUX_2_4 
     
    89        select BUSYBOX_CONFIG_FEATURE_MDEV_CONF 
    910        select BUSYBOX_CONFIG_FEATURE_MDEV_EXEC 
    10         depends FWRT_DEVEL 
    11         help 
    12           PC Engine WRAP 
  • trunk/freewrt/target/linux/x86-2.6/Config.in

    r2927 r3225  
    11config FWRT_LINUX_2_6_X86_WRAP 
    2         depends on FWRT_TARGET_CATEGORY_I386 
    3         bool "PC Engines WRAP [Linux 2.6]" 
     2        bool 
     3        default y if FWRT_TARGET_WITH_LINUX_2_6 && FWRT_DEVICE_X86_WRAP 
     4        default n 
    45        select FWRT_i386 
    56        select FWRT_LINUX_2_6 
     
    89        select BUSYBOX_CONFIG_FEATURE_MDEV_CONF 
    910        select BUSYBOX_CONFIG_FEATURE_MDEV_EXEC 
    10         depends FWRT_DEVEL 
    11         help 
    12           PC Engine WRAP 
    1311 
    1412config FWRT_LINUX_2_6_X86_CRYPTOTOKEN 
    15         depends on FWRT_TARGET_CATEGORY_I386 
    16         bool "Initramfs with tools for cryptotokens [Linux 2.6]" 
     13        bool 
     14        default y if FWRT_TARGET_WITH_LINUX_2_6 && FWRT_DEVICE_X86_CRYPTOTOKEN 
     15        default n 
    1716        select FWRT_i386 
    1817        select FWRT_LINUX_2_6 
     
    2625        select FWRT_PACKAGE_OPENSC 
    2726        select FWRT_PACKAGE_OPENCT 
    28         depends FWRT_DEVEL 
    29         help 
    30           Initramfs with tools for cryptotokens.