diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -214,7 +214,9 @@ include/config.h: .config | |||
214 | 214 | ||
215 | include/bb_config.h: include/config.h | 215 | include/bb_config.h: include/config.h |
216 | echo "#ifndef AUTOCONF_INCLUDED" > $@ | 216 | echo "#ifndef AUTOCONF_INCLUDED" > $@ |
217 | sed -e 's/#undef \(.*\)/static const int \1 = 0;/' < $< >> $@ | 217 | sed -e 's/#undef CONFIG_\(.*\)/#define ENABLE_\1 0/' \ |
218 | -e 's/#define CONFIG_\(.*\)/#define CONFIG_\1\n#define ENABLE_\1/' \ | ||
219 | < $< >> $@ | ||
218 | echo "#endif" >> $@ | 220 | echo "#endif" >> $@ |
219 | 221 | ||
220 | finished2: | 222 | finished2: |