Skip to content

Commit

Permalink
Move the kbuild.sh script to ch3/; add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiwan committed Jun 21, 2023
1 parent 108ea3e commit 347d75b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion ch2/kbuild.sh → ch3/kbuild.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 347d75b

Please sign in to comment.