[bootlin/training-materials updates] master: sysdev/kernel: building: Explain when/how to change the configuration better (663538c3)

Miquel Raynal miquel.raynal at bootlin.com
Wed Nov 10 11:09:13 CET 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/663538c33e2a0ce5fc2a5aacd45f8343fc526048

>---------------------------------------------------------------

commit 663538c33e2a0ce5fc2a5aacd45f8343fc526048
Author: Miquel Raynal <miquel.raynal at bootlin.com>
Date:   Wed Nov 10 10:50:24 2021 +0100

    sysdev/kernel: building: Explain when/how to change the configuration better
    
    Reword the slide so that it appears logical that the user must:
    - pick a default configuration (previous slide)
    - change the configuration
    - save it and overwrite its .config
    - make a default configuration file if he wants to save it properly
    
    Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>


>---------------------------------------------------------------

663538c33e2a0ce5fc2a5aacd45f8343fc526048
 .../sysdev-kernel-building.tex                      | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/slides/sysdev-kernel-building/sysdev-kernel-building.tex b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
index 34f5582b..4e047224 100644
--- a/slides/sysdev-kernel-building/sysdev-kernel-building.tex
+++ b/slides/sysdev-kernel-building/sysdev-kernel-building.tex
@@ -164,18 +164,25 @@
          \end{itemize}
      \end{itemize}
   \end{itemize}
-  Now, you can make configuration changes (\code{make menuconfig}...).
 \end{frame}
 
 \begin{frame}
   \frametitle{Create your own default configuration}
-  To create your own default configuration file:
   \begin{itemize}
-     \item \code{make savedefconfig}\\
-       This creates a minimal configuration (non-default settings)
-     \item \code{mv defconfig arch/<arch>/configs/myown_defconfig}\\
-       This way, you can share a reference configuration inside
-       the kernel sources.
+    \item Use a tool such as \code{make menuconfig} to make changes to
+      the configuration
+    \item Saving your changes will overwrite your \code{.config} (not
+      tracked by Git)
+    \item When happy with it, create your own default configuration file:
+      \begin{itemize}
+      \item Create a minimal configuration (non-default settings) file:\\
+        \code{make savedefconfig}
+      \item Save this default configuration in the right directory:\\
+        \code{mv defconfig arch/<arch>/configs/myown_defconfig}
+      \end{itemize}
+    \item This way, you can share a reference configuration inside
+      the kernel sources and other developpers can now get the same
+      \code{.config} as you by running \code{make myown_defconfig}
   \end{itemize}
 \end{frame}
 




More information about the training-materials-updates mailing list