config/options: cleanup

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2018-10-04 08:01:33 +00:00
parent d5fa4c2426
commit df1cffa51e

View File

@ -70,7 +70,7 @@ LINUX_DEPENDS="$PROJECT_DIR/$PROJECT/linux $PROJECT_DIR/$PROJECT/patches/linux $
# Need to point to your actual cc
# If you have ccache installed, take care that LOCAL_CC don't point to it
[ -z "${LOCAL_CC}" ] && export LOCAL_CC="$(which gcc)"
[ -z "${LOCAL_CC}" ] && export LOCAL_CC="$(command -v gcc)"
if [ -z "$LOCAL_CC" ] ; then
echo "***** Please install gcc *****"
@ -79,15 +79,15 @@ fi
# Need to point to your actual g++
# If you have ccache installed, take care that LOCAL_CXX don't point to it
[ -z "${LOCAL_CXX}" ] && export LOCAL_CXX="$(which g++)"
[ -z "${LOCAL_CXX}" ] && export LOCAL_CXX="$(command -v g++)"
# verbose compilation mode (yes/no)
VERBOSE="${VERBOSE:-yes}"
# Concurrency make level (-j option)
# Try value 1 (default) to 4 on single CPU computer, or more on
# multi-processor computer (like hyperthreading SMP CPU)
[ -z "${CONCURRENCY_MAKE_LEVEL}" ] && export CONCURRENCY_MAKE_LEVEL=$(grep -c '^processor[[:cntrl:]]*:' /proc/cpuinfo)
# Try values between 1 and number of processor cores present.
# default: use all cores
[ -z "${CONCURRENCY_MAKE_LEVEL}" ] && export CONCURRENCY_MAKE_LEVEL=$(nproc)
# cache size for ccache
# Set the maximum size of the files stored in the cache. You can specify a