January 2018
Intermediate to advanced
456 pages
12h 49m
English
The Yocto build system will automatically include in the target sysroot all the libraries and header files that are needed to build the applications running in the target. Extra packages can be added to the target sysroot by appending them to the TOOLCHAIN_TARGET_TASK variable. For example, you can selectively add only the static libraries you need to the toolchain by adding them as follows in your image recipe or conf/local.conf file:
TOOLCHAIN_TARGET_TASK_append = " libc-staticdev"
To add a native package to the host sysroot in the SDK, two things are needed:
BBCLASSEXTEND = "native nativesdk"
Read now
Unlock full access