EmbLogic's Blog

tool chain Macro

Here we discuss about the variables/Macro use to make tool chains
1.SRCDIR:- This directory home all sources downloaded.
e.g.
export SRCDIR=/root/chaine/sources

2.BULIDDIR:- It is in this directory that will compile all source packages e.g.
export BUILDDIR=/root/chaine/build
3.TARGETMACH:-
This variable specifies the type of target architecture
e.g.
export TARGETMACH=arm-none-linux-gnueabi
4.BUILDMACH:-
This variable specifies the type of architecture in which the package is compiled.

export BUILDMACH=x86_64-pc-linux-gnu
5.INSTALLDIR
This variable provides information about the folder hosting the cross-toolchain.

export INSTALLDIR=/opt/arm

6.SYSROOTDIR :-
This variable provides information on the directory hosting the libraries and header files the kernel of the target system.e.g.
export SYSROOTDIR=/opt/arm/sysroot

7.CROSS:-
Indicates that we use the variable fields CROSS with arm-none-linux-gnueabi.
export CROSS=arm-none-linux-gnueabi

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>