Skip to contentSkip to conversation

toolchain/toolchain-wrapper.c: correct CCACHE_BASEDIR comment

PATCH Applied Peter Korsgaard 2 participants 3 messages Jul 7, 2025 – Jul 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 toolchain/toolchain-wrapper.c: correct CCACHE_BASEDIR comment

Commit 1e97b2787331 ("ccache: support changing the output directory") added the CCACHE_BASEDIR logic, but added a comment (presumably from cut'n'paste) about compilercheck instead, fix that.

---
 toolchain/toolchain-wrapper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/toolchain-wrapper.c +1 -1
index 4dde0362b6..703d2fc042 100644
@@ -526,7 +526,7 @@ int main(int argc, char **argv)
 		}
 #endif
 #ifdef BR_CCACHE_BASEDIR
-		/* Allow compilercheck to be overridden through the environment */
+		/* Allow basedir to be overridden through the environment */
 		if (setenv("CCACHE_BASEDIR", BR_CCACHE_BASEDIR, 0)) {
 			perror(__FILE__ ": Failed to set CCACHE_BASEDIR");
 			return 3;
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · Peter Korsgaard

Commit 1e97b2787331 ("ccache: support changing the output directory") added the CCACHE_BASEDIR logic, but added a comment (presumably from cut'n'paste) about compilercheck instead, fix that.

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Peter Korsgaard
Quoted 5 lines · Peter Korsgaard

Commit 1e97b2787331 ("ccache: support changing the output directory") added the CCACHE_BASEDIR logic, but added a comment (presumably from cut'n'paste) about compilercheck instead, fix that.

Applied to 2025.02.x, thanks.

Regards,
Arnout

Quoted 9 lines
---
  toolchain/toolchain-wrapper.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
toolchain/toolchain-wrapper.c +0 -0
index 4dde0362b6..703d2fc042 100644

toolchain/toolchain-wrapper.c int main(int argc, char **argv) · line 532

Quoted 8 lines
toolchain/toolchain-wrapper.c +1 -1
@@ -526,7 +526,7 @@ int main(int argc, char **argv)
  		}
  #endif
  #ifdef BR_CCACHE_BASEDIR
-		/* Allow compilercheck to be overridden through the environment */
+		/* Allow basedir to be overridden through the environment */
  		if (setenv("CCACHE_BASEDIR", BR_CCACHE_BASEDIR, 0)) {
  			perror(__FILE__ ": Failed to set CCACHE_BASEDIR");
  			return 3;

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot