Changeset 2928

Show
Ignore:
Timestamp:
06/26/07 17:05:41 (1 year ago)
Author:
tg
Message:

I like to fix things I have no ideas of… (sarcasm included)
this should fix wbx' allmodconfig target, retaining the choice
which target to use (maybe it keeps more from old .config tho)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/build.mk

    r2798 r2928  
    144144_mconfig: ${CONFIG}/conf _mconfig2 _config 
    145145_mconfig2: ${CONFIG}/conf 
    146         ${CONFIG}/conf -m ${RCONFIG} 
     146        ${CONFIG}/conf -M ${RCONFIG} 
    147147        ${MBSH} scripts/restore-defaultconf.sh ${RESTORE_PATTERNS} 
    148148 
  • trunk/freewrt/tools/config/conf.c

    r2629 r2928  
    2626        set_yes, 
    2727        set_mod, 
     28        ask_mod, 
    2829        set_no, 
    2930        set_random 
     
    121122                        break; 
    122123                } 
     124        case ask_mod: 
    123125        case set_mod: 
    124126                if (type == S_TRISTATE) { 
     
    371373                case set_mod: 
    372374                case set_no: 
     375                case ask_mod: 
    373376                        cnt = def; 
    374377                        printf("%d\n", cnt); 
     
    518521                case 'n': 
    519522                        input_mode = set_no; 
     523                        break; 
     524                case 'M': 
     525                        input_mode = ask_mod; 
    520526                        break; 
    521527                case 'm': 
     
    564570        case ask_all: 
    565571        case ask_new: 
     572        case ask_mod: 
    566573                conf_read(NULL); 
    567574                break;