4adee867e1
[ci:skip-build] already built successfully in CI
106 lines
5.3 KiB
Text
106 lines
5.3 KiB
Text
# Maintainer: Martijn Braam <martijn@brixit.nl>
|
|
# Co-Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
# Co-Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
|
|
# Co-Maintainer: Jan Jasper de Kroon <jajadekroon@gmail.com>
|
|
# Co-Maintainer: Arnav Singh <me@arnavion.dev>
|
|
_flavor=postmarketos-allwinner
|
|
_config="config-$_flavor.$CARCH"
|
|
pkgname=linux-$_flavor
|
|
pkgver=6.6_rc5_git20231014
|
|
pkgrel=0
|
|
_tag="orange-pi-6.6-20231014-0051"
|
|
pkgdesc="Kernel fork with Pine64 patches (megi's tree, slightly patched)"
|
|
arch="aarch64 armv7"
|
|
url="https://megous.com/git/linux/"
|
|
license="GPL-2.0-only"
|
|
makedepends="
|
|
bison
|
|
devicepkg-dev
|
|
findutils
|
|
flex
|
|
gmp-dev
|
|
installkernel
|
|
mpc1-dev
|
|
mpfr-dev
|
|
openssl-dev
|
|
perl
|
|
rsync
|
|
xz
|
|
bash
|
|
"
|
|
options="!strip !check !tracedeps
|
|
pmb:cross-native
|
|
pmb:kconfigcheck-community
|
|
"
|
|
source="$pkgname-$_tag.tar.gz::https://codeberg.org/megi/linux/archive/$_tag.tar.gz
|
|
config-$_flavor.aarch64
|
|
config-$_flavor.armv7
|
|
0001-dts-add-dontbeevil-pinephone-devkit.patch
|
|
0002-dts-add-pinetab-dev-old-display-panel.patch
|
|
0003-dts-pinetab-add-missing-bma223-ohci1.patch
|
|
0004-arm64-dts-allwinner-Add-bluetooth-node-to-the-PineTa.patch
|
|
0005-dts-pinetab-make-audio-routing-consistent-with-pinep.patch
|
|
0006-dts-pinephone-drop-modem-power-node.patch
|
|
0007-drm-panel-simple-Add-Hannstar-TQTM070CB501.patch
|
|
0008-ARM-dts-sun6i-Add-GoClever-Orion-70L-tablet.patch
|
|
0009-drm-panel-simple-Add-Hannstar-HSD070IDW1-A.patch
|
|
0010-ARM-dts-sun6i-Add-Lark-FreeMe-70.2S-tablet.patch
|
|
0011-sunxi-mmc-h6-fix.patch
|
|
0012-arm64-dts-allwinner-orangepi-3-fix-ethernet.patch
|
|
0013-Revert-usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch
|
|
0014-usb-serial-option-add-reset-resume-callback-for-WWAN.patch
|
|
"
|
|
builddir="$srcdir/linux"
|
|
|
|
case "$CARCH" in
|
|
aarch64*) _carch="arm64" ;;
|
|
arm*) _carch="arm" ;;
|
|
esac
|
|
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
REPLACE_GCCH=0 \
|
|
. downstreamkernel_prepare
|
|
}
|
|
|
|
build() {
|
|
unset LDFLAGS
|
|
# V=1: workaround for pma#1990
|
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-$_flavor" \
|
|
CFLAGS_MODULE=-fno-pic \
|
|
DTC_FLAGS="-@" \
|
|
V=1
|
|
}
|
|
|
|
package() {
|
|
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor"
|
|
|
|
make -j1 modules_install dtbs_install \
|
|
ARCH="$_carch" \
|
|
INSTALL_MOD_STRIP=1 \
|
|
INSTALL_MOD_PATH="$pkgdir" \
|
|
INSTALL_DTBS_PATH="$pkgdir/boot/dtbs"
|
|
}
|
|
|
|
sha512sums="
|
|
9cc7fcfc037195e6e3a5a097e4f3fd11b6a83bde828b12276525350ca95dcf55a8ba8ce3c72a5e0e5917815b48c704a1526ad943116965e52ef2c129744f3e6b linux-postmarketos-allwinner-orange-pi-6.6-20231014-0051.tar.gz
|
|
a7ad715a3c1c711146e2c47a37a7080a655488c0befc07a90b1f22e4c2d02cf39104f1d1a209ad17515350da91d2379cdac55ca91cc7ae96aadd878bd9c14bc6 config-postmarketos-allwinner.aarch64
|
|
52756380d514440695bce694cea7745512f624b47bdf4a00d948f5198712e9978f57f37490a5822ab678865fe96e498f7998fb6605afac5dc7490eb2b12bc4be config-postmarketos-allwinner.armv7
|
|
126e0a65e04f22f14eac1281a69000d9d5b107ed8fd1b52f37e812751f55e6c45b0240ceac61c9d95ae7f0543aaf9d96b85a8532baf59283c077b9945e615367 0001-dts-add-dontbeevil-pinephone-devkit.patch
|
|
1dc710f5abacdd5698169d5e985efeca8114986c774c3d65e89812d08ceb3db5ebdc6dd64dd76a262c761f3bfc3ffb6bc237fd5236bd1f89c5975d12e42eda04 0002-dts-add-pinetab-dev-old-display-panel.patch
|
|
96849f40f6defc4ad7646256814bea5ac353c4e0479fd069365ff27456d63da801541ec616f6db736d60f3134384321a9eeb5bfbd555363bf1259c8de63d17fa 0003-dts-pinetab-add-missing-bma223-ohci1.patch
|
|
925bd630f3694d118b24f2f5a838ba105e4ca9ed8dd4294b6632310d8d6b1f421cdd673e2013758f9de7159050aa54e0f76e04edcff65f755842b1c95b6637e7 0004-arm64-dts-allwinner-Add-bluetooth-node-to-the-PineTa.patch
|
|
9bc6c2afadae8d367471f901b86a94be7fa70daf7a4bdde5bc6d4b1458b5ddd0e063a7765d962c68231c8f022d1c660d422124c31a2c899de768985d91d377ea 0005-dts-pinetab-make-audio-routing-consistent-with-pinep.patch
|
|
62809ac84db9d684b02d56dfc543451a1a13f319287466cfe913a847b945584ec60f7f556b1259ad3e26a44259a3fe587eeabeef6333f73a77204c3d3573f2ab 0006-dts-pinephone-drop-modem-power-node.patch
|
|
c61d4f86eddecca99df1ea1323f988e575f9c49130b64a0c50d61028ff96e24aaa3131fb3731e62e9b07db67019104d98933e31457891a5ce1e6010e06232875 0007-drm-panel-simple-Add-Hannstar-TQTM070CB501.patch
|
|
1fd9a225d2bdf6ed25994105ac769df0ed9804320115a94ce67afad5a23f21edeaa355bcab99184c29a10a773db337c2b5d2176cfad9ce251169730754114673 0008-ARM-dts-sun6i-Add-GoClever-Orion-70L-tablet.patch
|
|
71fad7ecff66a2cb692f3dd3d02301c4b419873f27693de81f50226b8ab93c229299e7dc663fdd07a7e8f03a6541527f3bb449626f865fcfde6a780ef1b91976 0009-drm-panel-simple-Add-Hannstar-HSD070IDW1-A.patch
|
|
4274e0312664b8326b0070bcae8424909e778086cfeccdc262c52cf17acfc5ba7b6a4b687009308ab27117a3c00a268b7c7ce1265c157400a68a6b9edde99795 0010-ARM-dts-sun6i-Add-Lark-FreeMe-70.2S-tablet.patch
|
|
2feeab0a6c3db46e514d45c9708f351c6d7dfb0bf951a5cb6f2dc01b4bdc8d4c46931000758a819a6d7317b16cb1933bb3946e6a78cbf448cc77f57a56c503bf 0011-sunxi-mmc-h6-fix.patch
|
|
22af33264090dac027ee054b4345a07f0b2ee077e2ae1620e83960bfeea096169aec710973fdd50531ed4f1db6cfd59b5796cd235316cb3512aee034f741a694 0012-arm64-dts-allwinner-orangepi-3-fix-ethernet.patch
|
|
bc7d41b0e1b9f2c3f4d860f07c9fd1621c3f07e16e7ab48f80cedfccb81af263b0f4dc0964baeebdc03eddaacfc3bc9c090863d3748891709e1b2c32840ea16f 0013-Revert-usb-quirks-Add-USB_QUIRK_RESET-for-Quectel-EG25G-Modem.patch
|
|
15062c72ba74ff5ca69a640e3a5fbf07f981a2b6129eb9c96ea83a62987c7b4fd99cb9e90b73021deaa7f08aa8c332683674287b285432f62cd0ddcc8932eb56 0014-usb-serial-option-add-reset-resume-callback-for-WWAN.patch
|
|
"
|