pve-kernel-thunderx/scripts/cross_build.sh

12 lines
354 B
Bash
Raw Normal View History

2023-08-01 13:58:54 +00:00
#!/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