When it looks for files to include in the OS image it is building, mkifs searches paths
in a preferred order. These paths can be based on the MKIFS_PATH or other environment variables.
mkifs search paths
By default, mkifs searches for components in the path set in MKIFS_PATH.
If MKIFS_PATH is not set, mkifs searches for components in:
- The current working directory, if the component's filename contains a slash but doesn't start with one.
- The directories listed below, which are based on the QNX_TARGET and PROCESSOR
environment variables (this latter variable is set by a buildfile attribute; for details,
see Specifying the board architecture):
- Binaries (esh, ls, etc.)
- ${QNX_TARGET}/${PROCESSOR}/bin
- ${QNX_TARGET}/${PROCESSOR}/usr/bin
- ${QNX_TARGET}/${PROCESSOR}/sbin
- ${QNX_TARGET}/${PROCESSOR}/usr/sbin
- OSs (procnto*, etc.)
- ${QNX_TARGET}/${PROCESSOR}/boot/sys
- Libraries and shared objects
- ${QNX_TARGET}/${PROCESSOR}/lib
- ${QNX_TARGET}/${PROCESSOR}/usr/lib
- Shared objects
- ${QNX_TARGET}/${PROCESSOR}/lib/dll