build system tweaks to account for latest hush changes

This commit is contained in:
Denis Vlasenko
2009-04-05 09:02:11 +00:00
parent d85a5df159
commit 18f2a79f9b
2 changed files with 6 additions and 18 deletions

View File

@ -76,17 +76,6 @@ cat .config \
mv .config.new .config
}
# CONFIG_NOMMU + CONFIG_HUSH + CONFIG_WERROR don't mix
# (produces warning)
grep -q ^CONFIG_NOMMU= .config && \
grep -q ^CONFIG_HUSH= .config && \
{
cat .config \
| grep -v ^CONFIG_WERROR= \
| cat >.config.new
mv .config.new .config
}
# Regenerate .config with default answers for yanked-off options
{ yes "" | make oldconfig >/dev/null; } || exit 1