summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-02-20 07:39:14 (GMT)
committerAlexey Neyman <stilor@att.net>2019-02-20 07:39:14 (GMT)
commit865171abc7bc468a577987725303ac9b8c580e52 (patch)
tree0366a21f9ce77e257c36142856ec2b054725fc26 /scripts
parenta0249703fd628fc0a74f6a7505b2be8acd9084ca (diff)
Stash the uClibc config after our mods
... before running `make olddefconfig`. This helps in debugging. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/libc/uClibc.sh4
1 files changed, 4 insertions, 0 deletions
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()