Files
Linux-Kernel-Programming_2E/ch2/Kconfig.patch
Kaiwan N Billimoria 44ae7aacdc updated for 6.1.25 k
2023-04-29 17:59:53 +05:30

24 lines
832 B
Diff

--- linux-6.1.25/init/Kconfig.orig 2023-04-29 11:15:05.670731588 +0530
+++ linux-6.1.25/init/Kconfig 2023-04-29 11:40:57.282794064 +0530
@@ -209,6 +209,20 @@
which is done within the script "scripts/setlocalversion".)
+config LKP_OPTION1
+ bool "Test case for LKP 2e book/Ch 2: creating a new menu item in kernel config"
+ default n
+ help
+ This option is merely a dummy or 'test' one; it's simply to have readers
+ of this book - 'Linux Kernel Programming', 2nd Ed, Kaiwan NB, Packt -
+ try out the creation of a few menu items within the kernel config.
+
+ Within the 'make menuconfig', you can experiment: set this option to
+ 'y' (on), save and exit, and see the effect this has by doing:
+ grep "CONFIG_LKP_OPTION1" .config
+
+ If unsure, say N
+
config BUILD_SALT
string "Build ID Salt"
default ""