build/base|kernel: only attempt build when passing "build" argument
Packaging can take some time so working on complex src patches is quicker this way.
This commit is contained in:
parent
45483f8986
commit
cb0452bb17
|
@ -60,6 +60,9 @@ ${MAKE_ARGS_DEV}
|
|||
"
|
||||
|
||||
${ENV_FILTER} make -s -C${SRCDIR} -j${CPUS} buildworld ${MAKE_ARGS} NO_CLEAN=yes
|
||||
if [ "${1}" = "build" ]; then
|
||||
exit 0
|
||||
fi
|
||||
${ENV_FILTER} make -s -C${SRCDIR}/release obj ${MAKE_ARGS}
|
||||
|
||||
# reset the distribution directory
|
||||
|
|
|
@ -62,6 +62,9 @@ if [ ${PRODUCT_HOST} != ${PRODUCT_ARCH} ]; then
|
|||
${ENV_FILTER} make -s -C${SRCDIR} -j${CPUS} kernel-toolchain ${MAKE_ARGS}
|
||||
fi
|
||||
${ENV_FILTER} make -s -C${SRCDIR} -j${CPUS} buildkernel ${MAKE_ARGS} NO_KERNELCLEAN=yes
|
||||
if [ "${1}" = "build" ]; then
|
||||
exit 0
|
||||
fi
|
||||
${ENV_FILTER} make -s -C${SRCDIR}/release obj ${MAKE_ARGS}
|
||||
|
||||
# reset the distribution directory
|
||||
|
|
Loading…
Reference in New Issue