Changeset cfaac4d in freewrt
- Timestamp:
- May 22, 2007, 6:07:47 PM (19 years ago)
- Children:
- 5ee7cbd8
- Parents:
- b942644
- File:
-
- 1 edited
-
mk/build.mk (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mk/build.mk
rb942644 rcfaac4d 18 18 snapshotconfig \ 19 19 tags 20 21 MAKECLEAN_SYMBOLS= FWRT_IPV6 22 POSTCONFIG= @\ 23 for symbol in ${MAKECLEAN_SYMBOLS}; do \ 24 newval=$$(grep -e "^$$symbol=" -e "^\# $$symbol " .config); \ 25 oldval=$$(cat .cfg/"$$symbol"); \ 26 [[ $$newval = $$oldval ]] && continue; \ 27 echo >&2 "WARNING: Options have changed, run 'make" \ 28 "clean' first!"; \ 29 break; \ 30 done 20 31 21 32 # Pull in the user's configuration file … … 121 132 -touch .config 122 133 $(CONFIG)/mconf $(CONFIG_CONFIG_IN) 134 ${POSTCONFIG} 123 135 124 136 config: $(CONFIG)/conf 125 137 -touch .config 126 138 $(CONFIG)/conf $(CONFIG_CONFIG_IN) 139 ${POSTCONFIG} 127 140 128 141 oldconfig: $(CONFIG)/conf 129 142 -touch .config 130 143 $(CONFIG)/conf -o $(CONFIG_CONFIG_IN) 144 ${POSTCONFIG} 131 145 132 146 allnoconfig: $(CONFIG)/conf 133 147 -touch .config 134 148 $(CONFIG)/conf -n $(CONFIG_CONFIG_IN) 149 ${POSTCONFIG} 135 150 136 151 # add patterns for config symbols to always restore from default here … … 140 155 ${MBSH} scripts/restore-defaultconf.sh $(RESTORE_PATTERNS) 141 156 $(CONFIG)/conf -o $(CONFIG_CONFIG_IN) 157 ${POSTCONFIG} 142 158 143 159 snapshotconfig: $(CONFIG)/conf … … 145 161 ${MBSH} scripts/restore-defaultconf.sh $(RESTORE_PATTERNS) 146 162 $(CONFIG)/conf -o $(CONFIG_CONFIG_IN) 163 ${POSTCONFIG} 147 164 148 165 tools/install-lbin:
Note:
See TracChangeset
for help on using the changeset viewer.
