migrate to gitea and build on arm64 server
This commit is contained in:
parent
9215d7d13e
commit
ee26874eaf
16
PKGBUILD
16
PKGBUILD
@ -15,11 +15,9 @@ makedepends=(
|
||||
git
|
||||
uboot-tools
|
||||
dtc
|
||||
aarch64-linux-gnu-gcc
|
||||
arm-linux-gnueabihf-gcc
|
||||
)
|
||||
options=('!strip')
|
||||
source=("git+https://gitmirrors.classfun.cn:4443/edk2-porting/linux-next.git#branch=ci/odin2/edge"
|
||||
source=("git+https://gitea.classfun.cn:4443/renegade-project/linux-next.git#branch=ci/odin2/edge"
|
||||
linux.preset
|
||||
linux.install
|
||||
60-linux.hook
|
||||
@ -45,9 +43,7 @@ sha512sums=('SKIP'
|
||||
'6b57a66b870b2f525e2dedd8f224b89474fd4ec6ea18484b0a67a1a2b9a4fc95d025cac181504406ea42a35d6c1b184c0d4e38c92815022935fc55746c69c7c1'
|
||||
'b2cdb620fcc6f0b430b0cf0c844887c2c1e290844ea330750cad52c9ec04e835ead973b664c7613d147037c388120affe97dfd2f2e0f9ae224db52aaa4cb8814')
|
||||
|
||||
export CROSS_COMPILE=aarch64-linux-gnu- CROSS_COMPILE_ARM32=arm-linux-gnueabihf-
|
||||
export KBUILD_BUILD_USER=ci KBUILD_BUILD_HOST=classfun.cn
|
||||
export ARCH=arm64 CARCH=aarch64
|
||||
export KBUILD_BUILD_USER=ci KBUILD_BUILD_HOST=classfun.cn ARCH=arm64
|
||||
|
||||
pkgver() {
|
||||
cd "$srcdir/linux-next"
|
||||
@ -83,7 +79,7 @@ build() {
|
||||
}
|
||||
|
||||
_package() {
|
||||
pkgdesc="The Linux Kernel and modules - Qualcomm Snapdragon 8 Gen 2 (SM8550)"
|
||||
pkgdesc="The Linux Kernel and modules - AYN Odin 2 (Qualcomm Snapdragon 8 Gen 2, QCS8550)"
|
||||
depends=('coreutils' 'kmod' 'mkinitcpio>=0.7')
|
||||
optdepends=('wireless-regdb: to set the correct wireless channels of your country')
|
||||
provides=("linux=${pkgver}" "linux-aarch64" "WIREGUARD-MODULE")
|
||||
@ -119,7 +115,7 @@ _package() {
|
||||
}
|
||||
|
||||
_package-headers() {
|
||||
pkgdesc="Header files and scripts for building modules for linux kernel - Qualcomm Snapdragon 8 Gen 2 (SM8550)"
|
||||
pkgdesc="Header files and scripts for building modules for linux kernel - AYN Odin 2 (Qualcomm Snapdragon 8 Gen 2, QCS8550)"
|
||||
provides=("linux-headers=${pkgver}")
|
||||
conflicts=('linux-headers')
|
||||
|
||||
@ -196,9 +192,7 @@ _package-headers() {
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
}
|
||||
|
||||
## Temporary disable headers
|
||||
# pkgname=("${pkgbase}" "${pkgbase}-headers")
|
||||
pkgname=("${pkgbase}")
|
||||
pkgname=("${pkgbase}" "${pkgbase}-headers")
|
||||
for _p in ${pkgname[@]}; do
|
||||
eval "package_${_p}() {
|
||||
_package${_p#${pkgbase}}
|
||||
|
Loading…
Reference in New Issue
Block a user