xbps-triggers: run make scripts with all cores

also, use `yes` to not get stuck on prompts (happened with
CONFIG_GCC_PLUGINGS).
This commit is contained in:
Piraty 2019-09-29 13:53:33 +02:00 committed by Piraty
parent e25daf28fc
commit 6dc2654685
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@ add_modules() {
fi fi
if [ ! -f ${f}/build/scripts/basic/fixdep ] ; then if [ ! -f ${f}/build/scripts/basic/fixdep ] ; then
echo -n "Building scripts for kernel-${_kver}... " echo -n "Building scripts for kernel-${_kver}... "
make -C ${f}/build scripts &> ${f}/build/make.log yes "" | make -C -j$(nproc) ${f}/build scripts > ${f}/build/make.log 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "done." echo "done."
else else

View file

@ -1,7 +1,7 @@
# Template file for 'xbps-triggers' # Template file for 'xbps-triggers'
pkgname=xbps-triggers pkgname=xbps-triggers
version=0.113 version=0.113
revision=1 revision=2
archs=noarch archs=noarch
bootstrap=yes bootstrap=yes
short_desc="The XBPS triggers for Void Linux" short_desc="The XBPS triggers for Void Linux"