UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 62152

PetaLinux 2014.2 - Can I Control the Compile Order of User Applications, Libraries, or Modules ?

Description

I would like to control the compile order of my user-created content in my Linux system. 

Is this possible?

Solution

Yes, this is possible.

The compile order is controlled by a numeric suffix to the KConfig file:

<petalinux_project>/components/<type>/<component_name>/Kconfig.n

n is an integer where 1 is highest priority.
 
<type> is one of the valid types (eg, "apps","libs","modules").

 

The overall compile order is as follows:

  1. Pre-built rootFS packages from the PetaLinux repository.
  2. Libraries.
  3. Applications.
  4. Modules.
AR# 62152
Date Created 09/23/2014
Last Updated 10/15/2014
Status Active
Type General Article
Tools
  • PetaLinux