Modify

Opened 12 years ago

Closed 12 years ago

Last modified 4 years ago

#202 closed defect (fixed)

Warnings from target/Config.in from wrong usage of default statement

Reported by: sw Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: toolchain Version: 2.0
Keywords: Cc:

Description

"make menuconfig" gives several warnings:

user@linux:~/src/openwrt$ make menuconfig
touch .config
cp .config .config.test
target/Config.in:6:warning: defaults for choice values not supported
target/Config.in:14:warning: defaults for choice values not supported
target/Config.in:27:warning: defaults for choice values not supported
target/Config.in:36:warning: defaults for choice values not supported
target/Config.in:43:warning: defaults for choice values not supported
target/Config.in:52:warning: defaults for choice values not supported
...

Here is a patch which fixes this:

--- target/Config.in    (Revision 2922)
+++ target/Config.in    (Arbeitskopie)
@@ -1,9 +1,9 @@
 choice
        prompt "Target System"
+       default BR2_LINUX_2_4_BRCM

 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
@@ -11,7 +11,6 @@

 config BR2_LINUX_2_4_BRCM
        bool "Broadcom BCM47xx/53xx [2.4]"
-       default y
        depends BR2_mipsel
        select BR2_LINUX_PCMCIA_SUPPORT
        help
@@ -24,7 +23,6 @@

 config BR2_LINUX_2_6_BRCM
        bool "Broadcom BCM47xx/53xx [2.6]"
-       default n
        depends BR2_mipsel
        select BR2_LINUX_PCMCIA_SUPPORT
        help
@@ -33,14 +31,12 @@

 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)

 config BR2_LINUX_2_4_X86
        bool "x86 [2.4]"
-       default n
        depends BR2_i386
        select BR2_LINUX_PCMCIA_SUPPORT
        help
@@ -49,7 +45,6 @@

 config BR2_LINUX_2_6_X86
        bool "x86 [2.6]"
-       default n
        depends BR2_i386
        select BR2_LINUX_PCMCIA_SUPPORT
        help
@@ -58,6 +53,55 @@

 endchoice

Regards,
Stefan

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.