Changeset 2169

Show
Ignore:
Timestamp:
03/15/07 20:57:29 (2 years ago)
Author:
tg
Message:

add “oldconfig” target, thanks to nbd@openwrt for the hint
(untested)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/Makefile

    r1850 r2169  
    2424config: .prereq_done 
    2525        @${GMAKE_INV} config 
     26 
     27oldconfig: .prereq_done 
     28        @${GMAKE_INV} oldconfig 
    2629 
    2730cleandir: .prereq_done 
  • trunk/freewrt/mk/build.mk

    r2025 r2169  
    1111CONFIG = tools/config 
    1212 
    13 noconfig_targets := menuconfig config tags allnoconfig allmodconfig snapshotconfig 
     13noconfig_targets:=      allmodconfig \ 
     14                        allnoconfig \ 
     15                        config \ 
     16                        menuconfig \ 
     17                        oldconfig \ 
     18                        snapshotconfig \ 
     19                        tags 
    1420 
    1521# Pull in the user's configuration file 
     
    116122        @$(CONFIG)/conf $(CONFIG_CONFIG_IN) 
    117123 
     124oldconfig: $(CONFIG)/conf 
     125        @-touch .config 
     126        @$(CONFIG)/conf -o $(CONFIG_CONFIG_IN) 
     127 
    118128allnoconfig: $(CONFIG)/conf 
    119129        @-touch .config