xbps-triggers: dkms: build kernel scripts on target for cross-compiled architectures
This commit is contained in:
parent
179e838f05
commit
3d2cfac8ce
2 changed files with 12 additions and 1 deletions
|
@ -70,6 +70,17 @@ add_modules() {
|
||||||
echo "Skipping kernel-${_kver}. kernel-headers package not installed..."
|
echo "Skipping kernel-${_kver}. kernel-headers package not installed..."
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
if [ ! -f ${f}/build/scripts/basic/fixdep ] ; then
|
||||||
|
echo -n "Building scripts for kernel-${_kver}... "
|
||||||
|
make -C ${f}/build scripts &> ${f}/build/make.log
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "done."
|
||||||
|
else
|
||||||
|
echo "FAILED!"
|
||||||
|
echo "Kernel scripts failed to build, please check /${f}/build/make.log"
|
||||||
|
echo "for errors in the log file."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
set -- ${dkms_modules}
|
set -- ${dkms_modules}
|
||||||
while [ $# -gt 0 ]; do
|
while [ $# -gt 0 ]; do
|
||||||
echo -n "Building DKMS module '$1-$2' for kernel-${_kver}... "
|
echo -n "Building DKMS module '$1-$2' for kernel-${_kver}... "
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.111
|
version=0.112
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue