Skip to content

Commit

Permalink
linux6.5: include files necessary for dkms on cross
Browse files Browse the repository at this point in the history
  • Loading branch information
classabbyamp committed Sep 30, 2023
1 parent cb2928d commit babf74c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion srcpkgs/linux6.5/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'linux6.5'
pkgname=linux6.5
version=6.5.5
revision=1
revision=2
short_desc="Linux kernel and modules (${version%.*} series)"
maintainer="Duncaen <[email protected]>"
license="GPL-2.0-only"
Expand Down Expand Up @@ -176,6 +176,7 @@ do_install() {
cd ${wrksrc}
# Install required headers to build external modules
install -Dm644 Makefile ${hdrdest}/Makefile
install -Dm644 Kbuild ${hdrdest}/Kbuild
install -Dm644 kernel/Makefile ${hdrdest}/kernel/Makefile
install -Dm644 .config ${hdrdest}/.config
for file in $(find . -name Kconfig\*); do
Expand Down Expand Up @@ -218,6 +219,11 @@ do_install() {
mkdir -p ${hdrdest}/tools/include
cp -a tools/include/tools ${hdrdest}/tools/include

cp -a kernel/time/timeconst.bc "${hdrdest}/kernel/time"
cp -a kernel/bounds.c "${hdrdest}/kernel"
mkdir -p "${hdrdest}/arch/x86/entry/syscalls"
cp -a arch/x86/entry/syscalls/syscall_32.tbl "${hdrdest}/arch/x86/entry/syscalls"

mkdir -p ${hdrdest}/arch/${arch}/kernel
cp arch/${arch}/Makefile ${hdrdest}/arch/${arch}
if [ "$subarch" = "i386" ]; then
Expand Down

0 comments on commit babf74c

Please sign in to comment.