commit | 527b7779e5ecabb057089b760140309bdcacc16a | [log] [tgz] |
---|---|---|
author | Martin Kaistra <martin.kaistra@linutronix.de> | Wed Aug 12 11:49:12 2020 +0200 |
committer | Shuah Khan <skhan@linuxfoundation.org> | Thu Aug 20 13:04:47 2020 -0600 |
tree | a44cc5adde18abaaed9d4af4b1ea67da78fb8f14 | |
parent | d1876f3596a57b114ae8615e28a935d996ac5464 [diff] |
cpupower: speed up generating git version string The variable VERSION is expanded for every use of CFLAGS. This causes "git describe" to get called multiple times on the kernel tree, which can be quite slow. The git revision does not change during build, so we can use simple variable expansion to set VERSION. Signed-off-by: Martin Kaistra <martin.kaistra@linutronix.de> Acked-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>