manual-config: Patch conf.c for generate-config.pl

This only affects the `oldaskconfig' make target, so it shouldn't really
affect current manual-config users, but it does make it more
straightforward to implement the generic kernel build on top of
manual-config.

Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
Shea Levy 2013-12-31 22:49:12 -05:00
parent fe185f0a18
commit 0c5776bc0f

View File

@ -84,6 +84,10 @@ let
sed -i "$mf" -e 's|/usr/bin/||g ; s|/bin/||g ; s|/sbin/||g'
done
sed -i Makefile -e 's|= depmod|= ${kmod}/sbin/depmod|'
# Patch kconfig to print "###" after every question so that
# generate-config.pl from the generic builder can answer them.
# This only affects oldaskconfig.
sed -e '/fflush(stdout);/i\printf("###");' -i scripts/kconfig/conf.c
'';
installPhase = ''