[bootlin/training-materials updates] master: Add new Elixir macro (06f11cf9)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Jun 2 15:52:13 CEST 2021


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

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

commit 06f11cf964b4c8360316a6690cacb74cb10c9240
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Jun 2 15:52:13 2021 +0200

    Add new Elixir macro
    
    - Will be useful when adding my LEE Falcon boot slides to
      the boot time optimization slides
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

06f11cf964b4c8360316a6690cacb74cb10c9240
 common/common.sty | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/common.sty b/common/common.sty
index 6d540974..4f5f7b13 100644
--- a/common/common.sty
+++ b/common/common.sty
@@ -7,6 +7,7 @@
 \newcommand\projfunc[2]{\href{https://elixir.bootlin.com/#1/latest/ident/#2}{\codelink{#2()}}}
 \newcommand\projconfig[2]{\href{https://elixir.bootlin.com/#1/latest/K/ident/#2}{\codelink{#2}}}
 \newcommand\projconfigval[3]{\href{https://elixir.bootlin.com/#1/latest/K/ident/#2}{\codelink{#2=#3}}}
+\newcommand\projconfignotset[2]{\href{https://elixir.bootlin.com/#1/latest/K/ident/#2}{\codelink{## #2 is not set}}}
 
 % Linux Elixir commands
 \newcommand\kfunc[1]{\href{https://elixir.bootlin.com/linux/latest/ident/#1}{\codelink{#1()}}}
@@ -21,6 +22,7 @@
 \newcommand\ksubarch[1]{\href{https://elixir.bootlin.com/linux/latest/source/arch/#1/}{\codelink{#1}}}
 \newcommand\kconfig[1]{\href{https://elixir.bootlin.com/linux/latest/K/ident/#1}{\codelink{#1}}}
 \newcommand\kconfigval[2]{\href{https://elixir.bootlin.com/linux/latest/K/ident/#1}{\codelink{#1=#2}}}
+\newcommand\kconfignotset[1]{\href{https://elixir.bootlin.com/linux/latest/K/ident/#1}{\codelink{## #1 is not set}}}
 \newcommand\kdoctext[1]{\href{https://kernel.org/doc/Documentation/#1}{\codelink{Documentation/#1}}}
 \newcommand\kdochtml[1]{\href{https://www.kernel.org/doc/html/latest/#1.html}{\codelink{#1}}}
 \newcommand\kdochtmldir[1]{\href{https://www.kernel.org/doc/html/latest/#1/}{\codelink{#1/}}}




More information about the training-materials-updates mailing list