Customizing standard and extensible SDKs

Even though the default SDK settings will be appropriate for the majority of users, the SDKs can be customized using the following variables:

  • SDKMACHINE: Specifies the architecture of the host machine for the SDK. It defaults to the architecture of the host machine, for example x86_64.
  • SDKIMAGE_FEATURES: A list of image features to include in the target sysroot; for example, you usually won't want the static libraries added to your image, but you do want to be able to cross-compile static applications, so you can add all the static libraries to the toolchain by adding the following SDK feature:
SDKIMAGE_FEATURES_append = " staticdev-pkgs" 
  • SDKPATH: Allows us to customize the default installation path offered by the installer.
  • SDK_TITLE: The title printed when running the installer, which defaults to <distro> SDK or the <distro> extensible SDK.
  • SDK_VENDOR: The vendor of the SDK. The Poky distro sets this to "-pokysdk".
  • SDK_POSTPROCESS_COMMAND: Contains a list of functions called after the SDK is built. The SDK_DIR variable is available for functions to locate the SDK path. Hooks also exist that run after the host or target parts of the SDK have been created with POPULATE_SDK_POST_HOST_COMMAND and POPULATE_SDK_POST_TARGET_COMMAND.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset