[bootlin/training-materials updates] master: labs/sysdev-kernel-cross-compiling: also disable CONFIG_DRM (922b7052)

Michael Opdenacker michael.opdenacker at bootlin.com
Tue Sep 27 17:17:12 CEST 2022


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

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

commit 922b705226d9fe13e33484c921a09c393b5b53c6
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Tue Sep 27 17:17:12 2022 +0200

    labs/sysdev-kernel-cross-compiling: also disable CONFIG_DRM
    
    This will significantly reduce kernel compile time,
    not building all possible GPU drivers.
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

922b705226d9fe13e33484c921a09c393b5b53c6
 .../sysdev-kernel-cross-compiling.tex                              | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
index 13823bbc..21498cf4 100644
--- a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
+++ b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
@@ -77,7 +77,12 @@ kernel.
 So, apply this configuration, and than run \code{make menuconfig}, and
 in the \code{System Type} menu, remove support for all the SoCs except
 the STM32MP157 ones. Don't forget to disable the TI ones too which are
-in a submenu. Please note that this will definitely build the smallest
+in a submenu.
+
+Also disable \kconfig{CONFIG_DRM}, which will skip support for many
+GPU drivers.
+
+Please note that this will definitely not build the smallest
 and most optimized kernel for STM32MP1: \code{multi_v7_defconfig}
 enables plenty of features and drivers that will not be useful on our
 particular board.




More information about the training-materials-updates mailing list