diff --git a/conf/machine/include/st-machine-common-stm32mp.inc b/conf/machine/include/st-machine-common-stm32mp.inc index 7b96850..c4061b3 100644 --- a/conf/machine/include/st-machine-common-stm32mp.inc +++ b/conf/machine/include/st-machine-common-stm32mp.inc @@ -377,6 +377,15 @@ ST_TOOLS_FOR_SDK = " \ nativesdk-ncurses-libncursesw \ " +# Add tools to build native application with SDK +# Currently mandatory for kernel and u-boot +ST_TOOLS_FOR_SDK:append = " \ + nativesdk-cpp-symlinks \ + nativesdk-gcc-symlinks \ + nativesdk-libyaml \ + nativesdk-libyaml-dev \ + " + # For support of perl ansicolor ST_TOOLS_FOR_SDK_PERL = " \ nativesdk-perl-module-term-ansicolor \ @@ -389,6 +398,7 @@ ST_TOOLS_FOR_SDK_PERL = " \ ST_TOOLS_FOR_SDK_PERL:append = " \ nativesdk-perl-module-file-spec-functions \ nativesdk-perl-module-integer \ + nativesdk-perl-module-pod-text \ " ST_TOOLS_FOR_SDK:append = " ${ST_TOOLS_FOR_SDK_PERL} " @@ -422,12 +432,6 @@ ST_TOOLS_FOR_SDK:append = " \ nativesdk-wayland \ " -# For Kernel yaml dependency -ST_TOOLS_FOR_SDK:remove = " \ - nativesdk-libyaml \ - nativesdk-libyaml-dev \ - " - # For CMSIS-SVD file parser with GDB ST_TOOLS_FOR_SDK:append = " \ nativesdk-svd-tools \ diff --git a/recipes-kernel/linux/linux-stm32mp/README.HOW_TO.txt b/recipes-kernel/linux/linux-stm32mp/README.HOW_TO.txt index c0207f1..ed8b4cf 100644 --- a/recipes-kernel/linux/linux-stm32mp/README.HOW_TO.txt +++ b/recipes-kernel/linux/linux-stm32mp/README.HOW_TO.txt @@ -14,15 +14,12 @@ Compilation of kernel: OpenSTLinux SDK must be installed. For kernel build, you need to install: -- libncurses and libncursesw dev package libyaml-dev - Ubuntu: sudo apt-get install libncurses5-dev libncursesw5-dev libyaml-dev - Fedora: sudo yum install ncurses-devel libyaml-devel +- libncurses and libncursesw dev package + Ubuntu: sudo apt-get install libncurses5-dev libncursesw5-dev + Fedora: sudo yum install ncurses-devel - mkimage Ubuntu: sudo apt-get install u-boot-tools Fedora: sudo yum install u-boot-tools -- yaml (check dts) - Ubuntu: sudo apt-get install libyaml-dev - Fedora: sudo yum install libyaml-devel Only if you like to have a git management of the code (see section 4 [Manage the kernel source code]):