utils/generate-makefile.sh: use `set -e` (and sync.sh: use `set -e` for all code).
utils/prepare-mode.sh: allow using BUILD_MODE without BUILD_CPU; allow overriding of baseline makepkg.conf location.