Last edited one month ago

Standard SDK directory structure

Applicable for STM32MP13x lines, STM32MP15x lines, STM32MP21x lines, STM32MP23x lines, STM32MP25x lines


This article describes the structure of the OpenSTLinux standard SDK installation directory:

SDK
├── sysroots			Root file systems
│   ├── <target>-<distro>	Target sysroot (libraries, headers, and symbols)
│   │   ├── bin
│   │   ├── boot
│   │   ├── etc
│   │   ├── home
│   │   ├── lib
│   │   ├── media
│   │   ├── mnt
│   │   ├── proc
│   │   ├── run
│   │   ├── sbin
│   │   ├── srv
│   │   ├── sys
│   │   ├── tmp
│   │   ├── usr
│   │   ├── var
│   │   └── vendor
│   └── <host machine>-<distro>_sdk-linux	Native sysroot (libraries, headers, and symbols)
│       ├── bin
│       ├── environment-setup.d
│       ├── etc
│       ├── lib
│       ├── sbin
│       ├── usr
│       └── var
├── environment-setup-<target>-<distro>-linux	Environment setup script
├── site-config-<target>-<distro>-linux		Configuration file for the target
└── version-<target>-<distro>-linux		Version file for the target

Where:

<target> Target architecture for cross-toolchain; examples (non exhaustive list):
  • cortexa7t2hf-neon-vfpv4
  • cortexa35
<distro> Distribution; examples (non-exhaustive list):
  • ostl
<host machine> Host machine on which the SDK is installed; examples (non-exhaustive list):
  • x86_64 (64-bit host machine)

The installed SDK consists of:

  • an environment setup script for the SDK
  • a configuration file for the target
  • a version file for the target
  • the root file systems (sysroots) needed to develop objects for the target system