fix mac's bash features
try to build BOSSA under Mac OS X
build bossa under mac
fix build and upload
Move default BOSSA_PORT selection to target configuration.
Fix the build dir creation once and for all.
build system: Improve sam3x arch specification.
build system: build-arm: Make compiler version selection code shorter.