mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
linux4.14-headers: include objtool in the package (#9314)
It is now required to build out-of-tree modules with dkms, without it, some modules that worked fine with earlier kernel versions can no longer be compiled.
This commit is contained in:
parent
2e96f494cc
commit
ae8b45b593
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'linux4.14'
|
# Template file for 'linux4.14'
|
||||||
pkgname=linux4.14
|
pkgname=linux4.14
|
||||||
version=4.14.0
|
version=4.14.0
|
||||||
revision=1
|
revision=2
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
wrksrc="linux-${version%.*}"
|
wrksrc="linux-${version%.*}"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
@ -235,6 +235,10 @@ do_install() {
|
||||||
mkdir -p ${hdrdest}/mm
|
mkdir -p ${hdrdest}/mm
|
||||||
cp fs/xfs/libxfs/xfs_sb.h ${hdrdest}/fs/xfs/libxfs/xfs_sb.h
|
cp fs/xfs/libxfs/xfs_sb.h ${hdrdest}/fs/xfs/libxfs/xfs_sb.h
|
||||||
|
|
||||||
|
# Add objtool binary, needed to build external modules with dkms
|
||||||
|
mkdir -p ${hdrdest}/tools/objtool
|
||||||
|
cp tools/objtool/objtool ${hdrdest}/tools/objtool
|
||||||
|
|
||||||
# Copy in Kconfig files
|
# Copy in Kconfig files
|
||||||
for i in $(find . -name "Kconfig*"); do
|
for i in $(find . -name "Kconfig*"); do
|
||||||
mkdir -p ${hdrdest}/$(echo $i | sed 's|/Kconfig.*||')
|
mkdir -p ${hdrdest}/$(echo $i | sed 's|/Kconfig.*||')
|
||||||
|
|
Loading…
Add table
Reference in a new issue