diff options
author | Alexey Neyman <stilor@att.net> | 2019-02-19 23:39:14 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2019-02-19 23:39:14 -0800 |
commit | 865171abc7bc468a577987725303ac9b8c580e52 (patch) | |
tree | 0366a21f9ce77e257c36142856ec2b054725fc26 /scripts/build/libc | |
parent | a0249703fd628fc0a74f6a7505b2be8acd9084ca (diff) | |
download | crosstool-ng-865171abc7bc468a577987725303ac9b8c580e52.tar.gz crosstool-ng-865171abc7bc468a577987725303ac9b8c580e52.tar.bz2 crosstool-ng-865171abc7bc468a577987725303ac9b8c580e52.zip |
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/build/libc')
-rw-r--r-- | scripts/build/libc/uClibc.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 5ea5c580..d80de57f 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() |