apple-iphone6: new device (MR 3629)
[ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
432c4991fd
commit
7f12e90c18
4 changed files with 6801 additions and 0 deletions
27
device/testing/device-apple-iphone6/APKBUILD
Normal file
27
device/testing/device-apple-iphone6/APKBUILD
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-apple-iphone6
|
||||
pkgdesc="Apple iPhone 6"
|
||||
pkgver=0.1
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
options="!check !archcheck"
|
||||
depends="
|
||||
linux-postmarketos-apple
|
||||
postmarketos-base
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
source="deviceinfo"
|
||||
|
||||
build() {
|
||||
devicepkg_build $startdir $pkgname
|
||||
}
|
||||
|
||||
package() {
|
||||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
e6588b1da2bb612ac23c60f17b65fca7d6974e49c6925d7c1ff48023fc9f3cc4c324b5225c0fd7492c9ce01658df028aee5fd27a51e8673b8e761c6a7fc1cd1a deviceinfo
|
||||
"
|
21
device/testing/device-apple-iphone6/deviceinfo
Normal file
21
device/testing/device-apple-iphone6/deviceinfo
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Reference: <https://postmarketos.org/deviceinfo>
|
||||
# Please use double quotes only. You can source this file in shell
|
||||
# scripts.
|
||||
|
||||
deviceinfo_format_version="0"
|
||||
deviceinfo_name="Apple iPhone 6"
|
||||
deviceinfo_manufacturer="Apple"
|
||||
deviceinfo_codename="apple-iphone6"
|
||||
deviceinfo_year="2014"
|
||||
deviceinfo_arch="aarch64"
|
||||
deviceinfo_modules_initfs="netboot"
|
||||
|
||||
# Device related
|
||||
deviceinfo_chassis="handset"
|
||||
deviceinfo_keyboard="false"
|
||||
deviceinfo_external_storage="false"
|
||||
deviceinfo_screen_width="750"
|
||||
deviceinfo_screen_height="1334"
|
||||
|
||||
# Bootloader related
|
||||
deviceinfo_flash_method="none"
|
55
device/testing/linux-postmarketos-apple/APKBUILD
Normal file
55
device/testing/linux-postmarketos-apple/APKBUILD
Normal file
|
@ -0,0 +1,55 @@
|
|||
# Reference: <https://postmarketos.org/vendorkernel>
|
||||
# Kernel config based on: arch/arm64/configs/defconfig
|
||||
pkgname=linux-postmarketos-apple
|
||||
pkgver=6.1.0_rc1
|
||||
pkgrel=0
|
||||
pkgdesc="Mainline kernel fork for Apple iPhone and iPad devices"
|
||||
arch="aarch64"
|
||||
_carch="arm64"
|
||||
_flavor="apple-iphone6"
|
||||
url="https://kernel.org"
|
||||
license="GPL-2.0-only"
|
||||
options="!strip !check !tracedeps pmb:cross-native"
|
||||
makedepends="
|
||||
bash
|
||||
bc
|
||||
bison
|
||||
devicepkg-dev
|
||||
flex
|
||||
openssl-dev
|
||||
perl
|
||||
linux-headers
|
||||
"
|
||||
|
||||
# Source
|
||||
_repository="linux-apple"
|
||||
_commit="bdffb36db88ab94ee624af340fef87cdb2b4aef3"
|
||||
_config="config-$_flavor.$arch"
|
||||
source="
|
||||
http://github.com/konradybcio/linux-apple/archive/$_commit.tar.gz
|
||||
$_config
|
||||
"
|
||||
builddir="$srcdir/$_repository-$_commit"
|
||||
_outdir="out"
|
||||
|
||||
prepare() {
|
||||
make ARCH=arm64 mrproper
|
||||
default_prepare
|
||||
REPLACE_GCCH=0 . downstreamkernel_prepare
|
||||
}
|
||||
|
||||
build() {
|
||||
unset LDFLAGS
|
||||
make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
|
||||
}
|
||||
|
||||
package() {
|
||||
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" \
|
||||
"$_flavor" "$_outdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
96c339d32c602f68700755d9aa7f7f867d5d89639d9126023fd7eca7f12c55a700308addefde95023b5847277c8506dc3f091118d1ff15fad7f2a3d0edd9f1f1 bdffb36db88ab94ee624af340fef87cdb2b4aef3.tar.gz
|
||||
54c1a7d4b77202f1c64d26f9f1db9ec7153fb41757f04ef0e12a02e348b30a89f5fa80d618edeb71a14e74217423b4343736b3b07c7f439aad61e6b745795a05 config-apple-iphone6.aarch64
|
||||
"
|
6698
device/testing/linux-postmarketos-apple/config-apple-iphone6.aarch64
Normal file
6698
device/testing/linux-postmarketos-apple/config-apple-iphone6.aarch64
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue