main/linux-postmarketos-allwinner: add armv7 architecture (MR 2040)

config is based on sunxi_defconfig altered to conform with kconfig check
This commit is contained in:
JuniorJPDJ 2021-03-19 14:34:11 +01:00
parent 3d09f9c10d
commit 41330a554d
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED
2 changed files with 5072 additions and 3 deletions

View file

@ -7,11 +7,10 @@ _flavor=postmarketos-allwinner
_config="config-$_flavor.$CARCH"
pkgname=linux-$_flavor
pkgver=5.11.0_git20210218
pkgrel=0
pkgrel=1
_tag="orange-pi-5.11-20210218-0749"
pkgdesc="Kernel fork with Pine64 patches (megi's tree, slightly patched)"
arch="aarch64"
_carch="arm64"
arch="aarch64 armv7"
url="https://megous.com/git/linux/"
license="GPL-2.0-only"
makedepends="
@ -19,7 +18,10 @@ makedepends="
devicepkg-dev
findutils
flex
gmp-dev
installkernel
mpc1-dev
mpfr-dev
openssl-dev
perl
rsync
@ -28,6 +30,7 @@ makedepends="
options="!strip !check !tracedeps pmb:cross-native pmb:kconfigcheck-anbox"
source="$pkgname-$_tag.tar.gz::https://github.com/megous/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
@ -45,6 +48,12 @@ source="$pkgname-$_tag.tar.gz::https://github.com/megous/linux/archive/$_tag.tar
subpackages="$pkgname-dev"
builddir="$srcdir/linux-$_tag"
case "$CARCH" in
aarch64*) _carch="arm64" ;;
arm*) _carch="arm" ;;
esac
prepare() {
default_prepare
@ -83,6 +92,7 @@ dev() {
sha512sums="aadf630887b39a27bbe1cd088532f1244f690f5590620317364252e8f2b29d681bc33545cb3070dcf593bee4ee5a94923db8cf7c1056173135c87530603f1c19 linux-postmarketos-allwinner-orange-pi-5.11-20210218-0749.tar.gz
3a8ccd45317f49ad7416b499a4c766bfffecc3449518e2c7be809d3537ece2d0c7d3da6bbdfb85f7494c294563497f84f1f311cbfded056018248cee31c6fed2 config-postmarketos-allwinner.aarch64
3a2780632678570752413c2f58192424142c294088986e9dce2340ff9fcee7028b6b01128af525bc77366104fbbddd9f9082a866ca28a38eaee5cdbad3b76820 config-postmarketos-allwinner.armv7
b174532e356dcb2144c2629c1747dcb0026a40aa8e4deca5bde67344d271e519ff90f6fa287633b1dec857855331e4aa1d1bd5fd0d73044309f98e8d829e2be0 0001-dts-add-dontbeevil-pinephone-devkit.patch
898e5e6dbdfa5b2f2154818bf006f2ae4d162a246c58dab5c43534e7630a35faf48ba74f6d2493d7500ad956a0e71c0b85ca9d7a51044c21d7d87b6f27b055f5 0002-dts-add-pinetab-dev-old-display-panel.patch
55f8bc826d7958d8fd16c59663746529be80daacdca9425e5678ee175bf0b93e4c1e0d2b5878ee58b488dde7eb7a05e438ec16c97c4298d3f272957a5caf183d 0003-dts-pinetab-add-missing-bma223-ohci1.patch

File diff suppressed because it is too large Load diff