Include objtool in header package
This change updates the build script to include objtool in the header package, which is necessary when building some out-of-tree modules (such as the NVIDIA driver)
This commit is contained in:
parent
35badf1804
commit
c2ad95159b
2 changed files with 4 additions and 2 deletions
3
debian/config/config.pve
vendored
3
debian/config/config.pve
vendored
|
@ -1,4 +1,4 @@
|
|||
CONFIG_DEBUG_INFO=n
|
||||
CONFIG_DEBUG_INFO=n # PVE strips debug info afterwards
|
||||
CONFIG_INTEL_MEI_WDT=m
|
||||
CONFIG_SND_PCM_OSS=n
|
||||
CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y
|
||||
|
@ -12,6 +12,7 @@ CONFIG_JFS_FS=m
|
|||
CONFIG_HFS_FS=m
|
||||
CONFIG_HFSPLUS_FS=m
|
||||
CONFIG_CIFS_SMB_DIRECT=y
|
||||
CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y
|
||||
CONFIG_BRIDGE=y
|
||||
CONFIG_BRIDGE_NETFILTER=y
|
||||
CONFIG_BLK_DEV_SD=y
|
||||
|
|
3
debian/rules
vendored
3
debian/rules
vendored
|
@ -187,7 +187,8 @@ debian/${PVE_HEADER_PKG}.%: debian/templates/pve-headers.%.in
|
|||
find arch/${KERNEL_BUILD_ARCH} -maxdepth 1 -name Makefile\*; \
|
||||
find arch/${KERNEL_BUILD_ARCH} -name module.lds -o -name Kbuild.platforms -o -name Platform; \
|
||||
find $$(find arch/${KERNEL_BUILD_ARCH} -name include -o -name scripts -type d) -type f; \
|
||||
find arch/${KERNEL_BUILD_ARCH}/include Module.symvers include scripts -type f \
|
||||
find arch/${KERNEL_BUILD_ARCH}/include Module.symvers include scripts -type f; \
|
||||
find tools/ -name 'objtool' -type f \
|
||||
) | rsync -avq --files-from=- ${KERNEL_SRC} debian/${PVE_HEADER_PKG}/usr/src/linux-headers-${KVNAME}
|
||||
mkdir -p debian/${PVE_HEADER_PKG}/lib/modules/${KVNAME}
|
||||
ln -sf /usr/src/linux-headers-${KVNAME} debian/${PVE_HEADER_PKG}/lib/modules/${KVNAME}/build
|
||||
|
|
Loading…
Reference in a new issue