config/options: convert to die

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2018-10-23 19:54:24 +00:00
parent df4858f5c2
commit ae29226181

View File

@ -70,16 +70,15 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux $PROJECT_DIR/$PROJECT/patches/linux $
[ "$TARGET_ARCH" = "x86_64" ] && LINUX_DEPENDS+=" $ROOT/packages/linux-firmware/intel-ucode $ROOT/packages/linux-firmware/kernel-firmware"
# Need to point to your actual cc
# If you have ccache installed, take care that LOCAL_CC don't point to it
# If you have ccache installed, take care that LOCAL_CC does not point to it
[ -z "${LOCAL_CC}" ] && export LOCAL_CC="$(command -v gcc)"
if [ -z "$LOCAL_CC" ] ; then
echo "***** Please install gcc *****"
exit 127
die "***** Please install gcc *****" "127"
fi
# Need to point to your actual g++
# If you have ccache installed, take care that LOCAL_CXX don't point to it
# If you have ccache installed, take care that LOCAL_CXX does not point to it
[ -z "${LOCAL_CXX}" ] && export LOCAL_CXX="$(command -v g++)"
# verbose compilation mode (yes/no)