Directory Layout

Dependency Graph

<graphviz dot center> digraph “FDT_dependencies” {

rankdir=BT
node [shape=box style=filled]

{ /* level graph */ node[shape=none, width=0, height=0, label=“” style=invis]; edge[dir=none style=invis]; 1 → 2 → 3 → 4 → 5 → 6 → 7 → 8 → 9 → 10; }

subgraph ROOT {
  node [fillcolor="#E66A08" fontcolor="#FFFFFF" fontsize=20]
  "/config";
  "/configs";
  "/local_src";
  "/patches";
  "/platform-MBaXXX";
  "/platforms";
  "/projectroot";
  "/rules";
  "/src";
  "/tools";
  
}
subgraph PLATFORM{
  node [fillcolor="#1D8EC6" fontcolor="#FFFFFF" fontsize=20]
  "/build-cross";
  "/build-host";
  "/build-target";
  "/images";
  "/packages";
  "/root";
  "/root-debug";
  "/state";
  "/sysroot-cross";
  "/sysroot-host";
  "/sysroot-target";
}

{rank=same; 2; “/build-cross”; “/build-host”; “/build-target”; “/images”; “/packages”; “/root”; “/root-debug”; “/state”; “/sysroot-cross”; “/sysroot-host”; “/sysroot-target”}

{rank=same; 6; "/config"; "/configs"; "/local_src"; "/patches"; "/platform-MBaXXX";  "/platforms"; "/projectroot"; "/rules"; "/src"; "/tools" }
{rank=same; 10; "TQM BSP Root" }
"TQM BSP Root" -> {"/config" "/configs" "/local_src" "/patches" "/platform-MBaXXX" "/platforms" "/projectroot" "/rules" "/src" "/tools"};

“/platform-MBaXXX” → {“/build-cross” “/build-host” “/build-target” “/images” “/packages” “/root” “/root-debug” “/state” “/sysroot-cross” “/sysroot-host” “/sysroot-target”}

}

</graphviz> <HTML>

CPU specific files

Module specific files

Baseboard specific files

</HTML>

BSP Root directory

Folder Description
config/ project specific configurations (optional)
configs/ project specific configurations (optional)
local_src/ project specific configurations (optional)
patches/ project specific patches, overwrites the generic ones from PTXdist
projectroot/ put files here which are to be copied over to the target's root
directory, like for example etc files, scripts, note that the
copying has to be done explicitly by some project specific rule file.
rules/ project specific patches, overwrites the generic ones from PTXdist
ptxconfig .config file to configure the userland for your project.
platformconfig .config file to configure the platform specific part of your project.
src/ directory containing tarball files for the packets.
tools/

BSP platform directory

Folder Description
<platform>/build-host/ build directory for host tools
<platform>/build-cross/ build directory for cross tools
<platform>/build-target/ build directory for target tools
<platform>/images/ 'ptxdist images' creates tarballs and filesystem images in this directory.
<platform>/sysroot-target/ target related libs and headerfiles are going to this dir
<platform>/sysroot-cross/ target related tools, but must run on host are going to this dir
<platform>/sysroot-host/ host related tools are going to this dir
<platform>/root/ root filesystem for the target
<platform>/state/ state files (show in which state packages currently are during the compilation)