Fix heaxders

This commit is contained in:
ferreo 2024-11-18 20:03:27 +00:00
parent a837b8ccab
commit b3be08ba2e
4 changed files with 18 additions and 2 deletions

View File

@ -1 +1 @@
1
2

View File

@ -0,0 +1,15 @@
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -125,7 +125,11 @@
CC="${DEB_HOST_GNU_TYPE}-gcc" "${srctree}/scripts/package/install-extmod-build" "${pdir}/usr/src/linux-headers-${version}"
- mkdir -p $pdir/lib/modules/$version/
+ mkdir -p "${pdir}/usr/src/linux-headers-${version}/"
+ cp .config "${pdir}/usr/src/linux-headers-${version}/.config"
+ cp .config usr/src/linux-headers-$version/
+
+ mkdir -p $pdir/lib/modules/$version/
ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build
}

View File

@ -1,3 +1,4 @@
0000-deb-packaging.patch
0001-cachyos-base-all.patch
0001-dkms-clang.patch
0002-bore-cachy.patch

View File

@ -2,4 +2,4 @@
echo "Pika Kernel - Building"
make CC=clang LD=ld.lld LLVM=1 LLVM_IAS=1 -j`nproc` bindeb-pkg LOCALVERSION=-pikaos KDEB_PKGVERSION=$(make kernelversion)-101pika1
make CC=clang LD=ld.lld LLVM=1 LLVM_IAS=1 -j`nproc` bindeb-pkg LOCALVERSION=-pikaos KDEB_PKGVERSION=$(make kernelversion)-101pika2