leeco-zl1: new device (MR 2273)

leeco-zl1: remove config based on line
This commit is contained in:
Kai Parry 2021-06-24 21:11:47 +00:00 committed by Alexey Minnekhanov
parent c78c633a06
commit 9721b7378b
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED
5 changed files with 4776 additions and 0 deletions

View file

@ -0,0 +1,30 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-leeco-zl1
pkgdesc="LeEco Le Pro3"
pkgver=0.1
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="
linux-leeco-zl1
mesa-dri-gallium
mkbootimg
mdss-fb-init-hack
postmarketos-base
"
makedepends="devicepkg-dev"
source="deviceinfo"
build() {
devicepkg_build $startdir $pkgname
}
package() {
devicepkg_package $startdir $pkgname
}
sha512sums="
144033689c3fe9ba705dbd4906c7de4c53a1b7d60962fdd174493024886dcfac3615472b7e55a0407f2a77145aa52866bdb4b8a9a0f2ebedb31d74cb0173f7df deviceinfo
"

View file

@ -0,0 +1,36 @@
# Reference: <https://postmarketos.org/deviceinfo>
# Please use double quotes only. You can source this file in shell
# scripts.
deviceinfo_format_version="0"
deviceinfo_name="LeEco Le Pro3"
deviceinfo_manufacturer="LeEco"
deviceinfo_codename="leeco-zl1"
deviceinfo_year="2016"
deviceinfo_dtb=""
deviceinfo_modules_initfs=""
deviceinfo_arch="aarch64"
deviceinfo_rootfs_image_sector_size="4096"
# Device related
deviceinfo_chassis="handset"
deviceinfo_keyboard="false"
deviceinfo_external_storage="false"
deviceinfo_screen_width="1080"
deviceinfo_screen_height="1920"
# Bootloader related
deviceinfo_flash_method="fastboot"
deviceinfo_kernel_cmdline="androidboot.hardware=qcom ehci-hcd.park=3 lpm_levels.sleep_disabled=1 cma=32M@0-0xffffffff loglevel=7 androidboot.configfs=true androidboot.selinux=permissive buildvariant=eng"
deviceinfo_generate_bootimg="true"
deviceinfo_bootimg_qcdt="false"
deviceinfo_bootimg_mtk_mkimage="false"
deviceinfo_bootimg_dtb_second="false"
deviceinfo_flash_offset_base="0x80000000"
deviceinfo_flash_offset_kernel="0x00008000"
deviceinfo_flash_offset_ramdisk="0x01000000"
deviceinfo_flash_offset_second="0x00f00000"
deviceinfo_flash_offset_tags="0x00000100"
deviceinfo_flash_pagesize="4096"
deviceinfo_flash_sparse="true"

View file

@ -0,0 +1,55 @@
# Reference: <https://postmarketos.org/vendorkernel>
pkgname=linux-leeco-zl1
pkgver=3.18.140
pkgrel=0
pkgdesc="LeEco Le Pro3 kernel fork"
arch="aarch64"
_carch="arm64"
_flavor="leeco-zl1"
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
"
# Source
_repository="android_kernel_leeco_msm8996"
_commit="d90c4da00221a7f3db81be68ff1ae52a3558a789"
_config="config-$_flavor.$arch"
source="
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz
$_config
gcc10-extern_YYLOC_global_declaration.patch
"
builddir="$srcdir/$_repository-$_commit"
_outdir="out"
prepare() {
default_prepare
. downstreamkernel_prepare
}
build() {
unset LDFLAGS
make O="$_outdir" ARCH="$_carch" CC="${CC:-gcc}" \
CONFIG_NO_ERROR_ON_MISMATCH=y \
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
}
package() {
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" "$_outdir"
}
sha512sums="
abc3572cafd4263b6c2d63a926699fda219b5d206854e1cf6e8d75831b1d8323a42a710a08dbd44d2e0aabd56b1c10e0c1fd03508a1cdc0fe9800f66d0cf6336 linux-leeco-zl1-d90c4da00221a7f3db81be68ff1ae52a3558a789.tar.gz
729a46e13c63f606c837661336837a4862d7844b689edadac56b4f7044ab3804b914b83a5868ffd4a2d4f6cf428ce35385afee4b009a906b28bdc6a6116f77a3 config-leeco-zl1.aarch64
2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch
"

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1 @@
../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch