From 865171abc7bc468a577987725303ac9b8c580e52 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Tue, 19 Feb 2019 23:39:14 -0800 Subject: Stash the uClibc config after our mods ... before running `make olddefconfig`. This helps in debugging. Signed-off-by: Alexey Neyman diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 5ea5c58..d80de57 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -404,6 +404,10 @@ manage_uClibc_config() # Now allow architecture to tweak as it wants CT_DoArchUClibcConfig "${dst}" CT_DoArchUClibcCflags "${dst}" "${flags}" + + # Preserve the config we created (before uclibc's `make olddefconfig` + # overrides anything). + CT_DoExecLog ALL cp "${dst}" "${dst}.created-by-ct-ng" } uClibc_post_cc() -- cgit v0.10.2-6-g49f6