# AMDA Kernel module #

## Compilation ##

**The first compilation** must be done with the script `script/deploy.sh` and with these required arguments:

- `-b`: build type (Debug or Release)
- `-c` : COTS install directory (typically '/opt')
- `-d` : DDServer host name (will be write in DD.res file)
- `-p` : DDServer port (will be write in DD.res file)

For exemple:

	script/deploy.sh -b "Debug" -c "/opt" -d "amdadev.fr" -p "5000"

During this first compilation, the correponding environment file will be write in 'script/amda-kernel-env'.

Once this first step done, next compilation can be done with scripts `script/deploy-debug.sh` and `script/deploy-release.sh` (no arguments required, the generated environment file will be used).

For example, to compile the application in release mode, you have just to run this command line:

	script/deploy-release.sh