Use $(error ...) instead of exit 1 to fail a Makefile.
Use $(SP_OS) instead of $(SP_ARCH).