Changeset 26459


Ignore:
Timestamp:
2011-04-04T02:54:33+02:00 (7 years ago)
Author:
nbd
Message:

toplevel: add a warning about .config being out of sync after an update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/toplevel.mk

    r25596 r26459  
    134134 
    135135%:: 
     136        @( \ 
     137                cp .config tmp/.config; \ 
     138                ./scripts/config/conf -D tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \ 
     139                if ./scripts/kconfig.pl '>' .config tmp/.config | grep -q CONFIG; then \ 
     140                        echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!"; \ 
     141                fi \ 
     142        ) 
    136143        @+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq 
    137144        @+$(SUBMAKE) -r $@ 
Note: See TracChangeset for help on using the changeset viewer.