From df68f203b4e7087beffb3a91dbae9278abd91c1c Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 4 Feb 2017 21:16:10 -0800 Subject: Use 'make olddefconfig' in uClibc/uClibc-ng configuration instead of 'make oldconfig' and responding 'y'. This avoids 'Broken pipe' errors in the log, as well as selects default setting for all options not explicitly set. This requires a small fix in the old uClibc. Won't have to maintain that fix for long though :) Signed-off-by: Alexey Neyman --- scripts/build/libc/uClibc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build/libc') diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index e58912cb..e87abafa 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -138,7 +138,7 @@ do_libc_backend_once() { fi manage_uClibc_config "${CT_LIBC_UCLIBC_CONFIG_FILE}" .config "${multi_flags}" - CT_DoYes | CT_DoExecLog ALL make "${make_args[@]}" oldconfig + CT_DoExecLog ALL make "${make_args[@]}" olddefconfig # Now filter the multilib flags. manage_uClibc_config did the opposite of # what Rules.mak in uClibc would do: by the multilib's CFLAGS, it determined -- cgit v1.2.3