Share via


Filter BSP dirs, .bib, and .reg Files (Compact 2013)

3/26/2014

By correctly filtering dirs, .bib, and .reg files, you can create board support packages (BSPs) that work regardless of the Sysgen or catalog items that you select for your OS design. Filtering is an important aspect of constructing a robust BSP.

How to Filter

Each driver or component usually requires you to write a few lines of filtering markup.

For each driver-specific or platform-specific component, do the following:

  1. In the component sources files, look for libraries that the component uses.
  2. Look at the Cesysgen\makefiles in the public tree to determine the makefile rules that govern inclusion of the libraries in $(SG_OUTPUT_ROOT).
  3. Look at the Sysgen rules in Public\cebase\oak\misc to determine which modules trigger the makefile rules, and set appropriate conditions for the rules.

See Also

Concepts

Tuning the Build Process