mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
dkms: fix make scripts
for crosscompiled kernels in kernel.d hook
* make use of all cores * don't prompt during `make scripts`. It was found that when building dkms on rpi using crosscompiled kernels (which is the default), .config misses 'GCC_PLUGINS' so `make scripts` prompts for it during update. The same was applied already to xbps-triggers/dkms in6dc2654685
f609f7e76b
This commit is contained in:
parent
e8318f9810
commit
3642efa70d
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ fi
|
||||||
export IGNORE_CC_MISMATCH=1
|
export IGNORE_CC_MISMATCH=1
|
||||||
|
|
||||||
if [ ! -f /lib/modules/${VERSION}/build/scripts/basic/fixdep ] ; then
|
if [ ! -f /lib/modules/${VERSION}/build/scripts/basic/fixdep ] ; then
|
||||||
make -C /lib/modules/${VERSION}/build scripts
|
yes "" | make -j $(nproc) -C /lib/modules/${VERSION}/build scripts
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check available DKMS modules
|
# Check available DKMS modules
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dkms'
|
# Template file for 'dkms'
|
||||||
pkgname=dkms
|
pkgname=dkms
|
||||||
version=2.8.1
|
version=2.8.1
|
||||||
revision=1
|
revision=2
|
||||||
conf_files="/etc/dkms/framework.conf"
|
conf_files="/etc/dkms/framework.conf"
|
||||||
depends="bash kmod gcc make coreutils linux-headers"
|
depends="bash kmod gcc make coreutils linux-headers"
|
||||||
short_desc="Dynamic Kernel Modules System"
|
short_desc="Dynamic Kernel Modules System"
|
||||||
|
|
Loading…
Add table
Reference in a new issue