commit | a7c3f4ed25915ef5353866f33690c3c8468f6b60 | [log] [tgz] |
---|---|---|
author | Sebastian Bøe <sebastian.boe@nordicsemi.no> | Tue Apr 17 14:49:52 2018 +0200 |
committer | Carles Cufí <carles.cufi@nordicsemi.no> | Fri Apr 27 12:06:02 2018 +0200 |
tree | ed6611db1b088b181caefecf185c86d8dfd359af | |
parent | c95c6bef04b953c478268e25c15d2d74618c06c1 [diff] |
cmake: toolchain: Checksum the toolchain to uniquely identify it This commit introduces TOOLCHAIN_SIGNATURE. A CMake variable that is defined like this: Toolchains with the same signature will always support the same set of flags. Currently it is implemented by MD5summing the CC binary. This is useful for instance if the build system needs to determine if it has seen the toolchain before, e.g. in a caching use-case. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>