[bootlin/training-materials updates] master: labs/yocto-sdk: add populate_sdk fix for stm32mp1 (2480063e)
Michael Opdenacker
michael.opdenacker at bootlin.com
Wed Oct 11 10:12:45 CEST 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/2480063ede5e75bfcc917161070ad5e8288a328c
>---------------------------------------------------------------
commit 2480063ede5e75bfcc917161070ad5e8288a328c
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Wed Oct 11 10:12:45 2023 +0200
labs/yocto-sdk: add populate_sdk fix for stm32mp1
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
2480063ede5e75bfcc917161070ad5e8288a328c
labs/yocto-sdk/yocto-sdk.tex | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/labs/yocto-sdk/yocto-sdk.tex b/labs/yocto-sdk/yocto-sdk.tex
index baa0e754..3f9cbe66 100644
--- a/labs/yocto-sdk/yocto-sdk.tex
+++ b/labs/yocto-sdk/yocto-sdk.tex
@@ -15,10 +15,18 @@ Two SDKs are available, one only embedding a toolchain and the
other one allowing for application development. We will use the latter one
here.
-First, build an SDK for the \code{bootlinlabs-image-minimal} image, with
+\if\defstring{\labboard}{stm32mp1}
+On \code{stm32mp1}, we first need to remove ST host tooling that we
+don't need and that currently fails to build anyway.
+
+So, remove all the lines touching \code{TOOLCHAIN_HOST_TASK} in
+\code{meta-st-stm32mp/conf/machine/include/st-machine-common-stm32mp.inc}.
+\fi
+
+Build an SDK for the \code{bootlinlabs-image-minimal} image, with
the \code{populate_sdk} task.
-Once the SDK is generated, a script will be available at
+Once the SDK is generated, a script will be available in
\code{tmp/deploy/sdk}.
\section{Install the SDK}
More information about the training-materials-updates
mailing list