Technical data

4. Packages
Under the Buildroot directory ˜/.fbr/fbr-<branch>-<arch>/buildroot the following di-
rectories are of interest:
Directory Content
output/sandbox In this directory a subdirectory exists for each FBR package
that holds the files of the package after being compiled. In
the directory output/sandbox/<package>/target the files
for the fli4l router can be found in this case. In the direc-
tory output/sandbox/<package>/staging files needed for
building other FBR packages requiring this FBR package
can be found.
output/target In this directory all compiled programs for the fli4l-router
are stored. This directory mirrors the directory structure on
the fli4l router. By the help of chroot you can change to
this directory and try the programs.
15
General Settings
The operation of fbr-make can be influenced by various environment variables:
Variable Description
FBR Specifies the path to the FBR explicitely. Per default the
path ˜/.fbr/fbr-<branch>-<arch> (see above) is used.
FBR_BASEDIR explicitely specifies the base path to the FBR. As a default
the ˜/.fbr (see above) will be used. This variable will be
ignored if the environment variable FBR is set.
FBR_DLDIR Specifies the directory containing the source archives. Per
default the path ${FBR}/../dl (i.e. ˜/.fbr/dl) will be
used.
FBR_OWNDIR Specifies the directory holding the own packages. Per default
the path ${FBR}/../own (i.e. ˜/.fbr/own) will be used.
FBR_TIDY if this variable is set to “y” intermediate results while com-
piling the FBR packages will be deletetd immediately af-
ter their installation to the directory output/target. This
saves a lot of space and is always recommended if you do
not feel the urge to have a look at output/build/... af-
ter the build process. If this variable ’contains the value
k’, only the intermediate results in the various Linux ker-
nel directories are removed, because this saves a lot of space
without losing any functionality. All other assignments (or if
the variable is missing entirely) ensure that all intermediate
results are kept.
15
This is bound to some preconditions, see the paragraph “Testing Of A Compiled Program” (Page 244).
242