pve-kernel-thunderx/scripts/cross_build.sh
jiangcuo f3ae9ca43f update to linux 5.15.123
new file:   debian/rules.cross
new file:   scripts/clean.sh
new file:   scripts/cross_build.sh
2023-08-02 11:52:47 +08:00

11 lines
354 B
Bash
Executable file

#!/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