mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2] scripts/mkcompile_h: Update LINUX_COMPILE_HOST command substitution syntax
@ 2026-08-18 20:43 Bhaskar Chowdhury
  2026-09-01  0:14 ` Nathan Chancellor
  0 siblings, 1 reply; 2+ messages in thread
From: Bhaskar Chowdhury @ 2026-08-18 20:43 UTC (permalink / raw)
  To: nathan, nsc, unixbhaskar, linux-kbuild, linux-kernel

The assignment of LINUX_COMPILE_HOST uses the classic backtick style
for its command substitution but the rest of the script uses the more
common '$()'. Update LINUX_COMPILE_HOST to match for consistency.

Signed-off-by: Bhaskar Chowdhury <unixbhaskar@gmail.com>
---
 Changes from V1:
 Nathan suggested explicit statement should be given as commit log. Hence,the
 changes incorporated.
 scripts/mkcompile_h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
index 2596f78e52ef..bf0d5669d9bc 100755
--- a/scripts/mkcompile_h
+++ b/scripts/mkcompile_h
@@ -11,7 +11,7 @@ else
 	LINUX_COMPILE_BY=$KBUILD_BUILD_USER
 fi
 if test -z "$KBUILD_BUILD_HOST"; then
-	LINUX_COMPILE_HOST=`uname -n`
+	LINUX_COMPILE_HOST=$(uname -n)
 else
 	LINUX_COMPILE_HOST=$KBUILD_BUILD_HOST
 fi
--
2.54.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH V2] scripts/mkcompile_h: Update LINUX_COMPILE_HOST command substitution syntax
  2026-08-18 20:43 [PATCH V2] scripts/mkcompile_h: Update LINUX_COMPILE_HOST command substitution syntax Bhaskar Chowdhury
@ 2026-09-01  0:14 ` Nathan Chancellor
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Chancellor @ 2026-09-01  0:14 UTC (permalink / raw)
  To: nsc, linux-kbuild, linux-kernel, Bhaskar Chowdhury

On Wed, 19 Aug 2026 02:13:51 +0530, Bhaskar Chowdhury wrote:
> scripts/mkcompile_h: Update LINUX_COMPILE_HOST command substitution syntax

Applied to

  https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git kbuild-next-unstable

Thanks!

[1/1] scripts/mkcompile_h: Update LINUX_COMPILE_HOST command substitution syntax
      https://git.kernel.org/kbuild/c/72c442e5bad35

Please look out for regression or issue reports or other follow up
comments, as they may result in the patch/series getting dropped or
reverted. Patches applied to an "unstable" branch are accepted pending
wider testing in -next and any post-commit review; they will generally
be moved to the main branch in a week if no issues are found.

Best regards,
-- 
Cheers,
Nathan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-01  0:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 20:43 [PATCH V2] scripts/mkcompile_h: Update LINUX_COMPILE_HOST command substitution syntax Bhaskar Chowdhury
2026-09-01  0:14 ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®