From 347d75b90edf090d5c04674d7abfe409b89038ea Mon Sep 17 00:00:00 2001 From: Kaiwan N Billimoria Date: Wed, 21 Jun 2023 15:58:35 +0530 Subject: [PATCH] Move the kbuild.sh script to ch3/; add comments --- {ch2 => ch3}/kbuild.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) rename {ch2 => ch3}/kbuild.sh (76%) diff --git a/ch2/kbuild.sh b/ch3/kbuild.sh similarity index 76% rename from ch2/kbuild.sh rename to ch3/kbuild.sh index 2eced6a..3b2498c 100755 --- a/ch2/kbuild.sh +++ b/ch3/kbuild.sh @@ -1,8 +1,20 @@ #!/bin/bash # kbuild.sh +# *************************************************************** +# * This program is part of the source code released for the book +# * "Linux Kernel Programming", 2nd Ed +# * (c) Author: Kaiwan N Billimoria +# * Publisher: Packt +# * GitHub repository: +# * https://github.com/PacktPublishing/Linux-Kernel-Programming_2E +# * +# * From: Ch 3 : Building the 6.x Linux Kernel from Source - Part 2 +# **************************************************************** +# * Brief Description: # Simple kernel build script; minimally tested, YMMV! +# **************************************************************** -# Turn on Bash 'strict mode'! V useful +# Turn on Bash 'strict mode'! V useful to catch potential bugs/issues early. # ref: http://redsymbol.net/articles/unofficial-bash-strict-mode/ set -euo pipefail