diff options
author | Alexey Neyman <stilor@att.net> | 2018-04-28 16:41:16 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2018-04-29 12:06:54 -0700 |
commit | 74979fb19b2c7220dab4196c0d34e0c29b341b09 (patch) | |
tree | 6ae4685ef53ec2b10593fe19fc1397bc8619f311 /config/global | |
parent | 0f34b0ebf0651fd26fde1646ac1fb4031e0c57a2 (diff) | |
download | crosstool-ng-74979fb19b2c7220dab4196c0d34e0c29b341b09.tar.gz crosstool-ng-74979fb19b2c7220dab4196c0d34e0c29b341b09.tar.bz2 crosstool-ng-74979fb19b2c7220dab4196c0d34e0c29b341b09.zip |
Add checking for *sum and unzip
Also improve logging (add an ability to log commands/files/environment variables
to config.log)
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/global')
-rw-r--r-- | config/global/download.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/global/download.in b/config/global/download.in index 89b05cea..57f42e6f 100644 --- a/config/global/download.in +++ b/config/global/download.in @@ -135,6 +135,7 @@ endif # USE_MIRROR config VERIFY_DOWNLOAD_DIGEST bool "Verify download digests (checksums)" default y + depends on CONFIGURE_has_sha512sum || CONFIGURE_has_sha256sum || CONFIGURE_has_sha1sum || CONFIGURE_has_md5sum if VERIFY_DOWNLOAD_DIGEST @@ -143,14 +144,18 @@ choice config VERIFY_DOWNLOAD_DIGEST_SHA512 bool "SHA-512" + depends on CONFIGURE_has_sha512sum config VERIFY_DOWNLOAD_DIGEST_SHA256 + depends on CONFIGURE_has_sha256sum bool "SHA-256" config VERIFY_DOWNLOAD_DIGEST_SHA1 + depends on CONFIGURE_has_sha1sum bool "SHA-1" config VERIFY_DOWNLOAD_DIGEST_MD5 + depends on CONFIGURE_has_md5sum bool "MD5" endchoice |