Removed old build scripts

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
Added new build script system

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
Merge branch 'master' of https://github.com/ambrop72/aprinter
updated README

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
various fixes for the build scripts

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
added support for 4pi boards

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
added env variable setting for path to toolchains and prefixes to gcc
added confirmation on flush of avr and arm tools
fixed shadowed variable ARCH
fixed fail function

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>
Merge branch 'master' of https://github.com/ambrop72/aprinter

Conflicts:
	compile-stm32f4.sh
	flash-stm32f4.sh
Remove dead clang build code.
Make check_depends work when tools are in PATH.
Make it possible to override ARM toolchain with one in PATH.
Add missing create_depends_dir.
Remove debug prints from retr_and_extract.
Don't try to install ARM gcc if user overrides it.
Fix meaning of ASF.
Allow user to easily override variables for build with config.sh.
Move avrdude parameters to build-targets.sh and make them right for RAMPS.
Specify port for BOSSA upload in board config not command line.
Remove upload parameters on command line.
Build the right BOSSA. Also separate installation of ASF and BOSSA.