make: build to another directory

Defaults to legacy-build/$arch-$bsp, can be changed by
setting the environment variable BUILD_DIR