Skip to content

Configuration File toolchain.cfg

WXbet edited this page Mar 30, 2024 · 53 revisions

HOME » Documentation » Configuration-Files » toolchain.cfg

/opt/s3_releases/support/toolchains.cfg/{TOOLCHAIN_NAME}

Option
Sample
Description
_toolchainname
_toolchainname="mipsel";
Name of the corresponding cross toolchain in the s3's toolchain folder. The name of the cross toolchain configuration file and the cross toolchain name should match.
_description
_description="Dreambox & VU+ (OE 1.6)";
Cross toolchain description used in simplebuild menus.
_compiler
_compiler="mipsel-unknown-linux-gnu-";
File name of the cross toolchains gcc compiler binary file without the ending gcc.
_sysroot
_sysroot="mipsel-unknown-linux-gnu/sys-root/usr";
Relative path of the cross toolchain sysroot folder.
_libsearchdir
_libsearchdir="/lib";
(currently not used)
Additional library search directory for the gcc compiler to search for required libraries during the build process
_stagingdir
_stagingdir="1";
(optional)
Indicates (0|1) whether the cross toolchain needs the additional environment variable STAGING_DIR is set when building or not. If _stagingdir="1", s3 automatically sets the STAGING_DIR variable to the toolchain directory during the build process.
_androidndkdir
_androidndkdir="1";
(optional)
Indicates (0|1) whether the cross toolchain needs the additional environment variable ANDROID_NDK is set when building or not. If _androidndkdir="1", s3 automatically sets the ANDROID_NDK variable to the toolchain directory during the build process.
_self_build
_self_build="1";
(optional)
Indicates (0|1) whether the cross toolchain was created on the build computer or not. This variable is automatically set up in the toolchain configuration file, e.g. by the s3TUP plugin after creating a new cross toolchain.
default_use
default_use="USE_UTF8 USE_LIBCRYPTO";
Standard build configuration variables for oscam used by this cross toolchain.
extra_use
extra_use="LIB_RT= LIB_PTHREAD=";
(optional), USE_EXTRA option must be specified to enable use of this variable during build.
Extra build configuration variables for oscam used/needed by this cross toolchain.
extra_cc
extra_cc="-march=armv7-a -mtune=cortex-a9";
(optional), USE_EXTRA option must be specified to enable use of this variable during build.
Extra compiler configuration variables for oscam used/needed by this cross toolchain.
extra_ld
extra_ld="-Wl,-dynamic-linker,/usr/lib/freetz/ld-uClibc.so.0";
(optional), USE_EXTRA option must be specified to enable use of this variable during build.
Extra linker configuration variables for oscam used/needed by this cross toolchain.
extra_c
extra_c="-mfpu=vfpv3-d16";
(optional), USE_EXTRA option must be specified to enable use of this variable during build.
Extra CFLAGS variables for oscam used/needed by this cross toolchain. This sample disables NEON optimization for some specific arm cpus.
_oscamconfdir_default
_oscamconfdir_default="/var/tuxbox/config";
Default configuration directory where oscam expects its configuration files.
_oscamconfdir_custom
_oscamconfdir_custom="/app/data/oscam";
Custom configuration directory where oscam expects its configuration files. If set, this overwrites _oscamconfdir_default variable.
stapi_allowed
stapi_allowed="1";
(optional)
Indicates (0|1) whether a STAPI library can be integrated.
stapi_lib_custom
stapi_lib_custom="";
(optional)
Specify a custom STAPI library to included in the build process. This library has to be located in support/stapi folder.
_extract_strip
_extract_strip="0";
(optional)
Strip NUMBER leading components from file names on toolchain extraction with tar (--strip-components=NUMBER).
_toolchainfilename
_toolchainfilename="TUlQUy1UdXhib3gtT0UxLjZfc191X3AudGFyLnh6";
base64 encoded name of the archive containing the cross toolchain. The archive is downloaded and saved in the in the s3's downloads folder.
_md5sum
_md5sum="09cfbf19e4f4e7c1a2c033dd12a09b4a Toolchain-MIPS-Tuxbox-OE1.6_s_u_p.tar.xz";
MD5 sum and name of the cross toolchain archive downloaded and saved in the in the s3's downloads folder.
_tc_info
_tc_info="\n<br/> !!! Dreambox & VU+ (OE 1.6) !!!\n<br/> this toolchain is compatible with\n<br/>\n<br/>Dreambox: dm500,dm800,500HD,800HD,800SE,7020HD,<br/> 7025,8000\n<br/>VU+ : Zero,Solo²,SoloSE,SoloSE(V2),Duo,Duo²";
Extended information about the cross toolchain. This info is displayed in simplebuild menus.
_tc_infolines
_tc_infolines="6";
Number of lines of the cross toolchain information in _tc_info.

Back to top