update to linux 5.15.123
new file: debian/rules.cross new file: scripts/clean.sh new file: scripts/cross_build.sh
This commit is contained in:
parent
8bbb6f548a
commit
f3ae9ca43f
3 changed files with 236 additions and 0 deletions
10
scripts/clean.sh
Executable file
10
scripts/clean.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
rm debian/pve-headers-* -rf
|
||||
rm debian/pve-kernel-* -rf
|
||||
rm .*_mark -rf
|
||||
rm debian/autoreconf* -rf
|
||||
rm debian/linux-tool* -rf
|
||||
rm debian/.debhelper/ -rf
|
||||
rm debian/SOURCE -rf
|
||||
rm debian/debhelper-build-stamp -rf
|
||||
rm debian/files -rf
|
11
scripts/cross_build.sh
Executable file
11
scripts/cross_build.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
CROSS_COMPILE=aarch64-linux-gnu- \
|
||||
ARCH=arm64 \
|
||||
KERNEL_BUILD_ARCH=arm64 \
|
||||
DEB_BUILD_GNU_TYPE=aarch64-linux-gnu- \
|
||||
DEB_BUILD_ARCH=arm64 \
|
||||
DEB_BUILD_OPTIONS=nostrip \
|
||||
CONFIG_SITE=/etc/dpkg-cross/cross-config.arm64 \
|
||||
CC=/usr/bin/aarch64-linux-gnu-gcc \
|
||||
CROSS_COMPILE=aarch64-linux-gnu- \
|
||||
dpkg-buildpackage -b -us -uc -aarm64 -Pcross,nocheck -d
|
Loading…
Add table
Add a link
Reference in a new issue