2018-02-03 11:34:51 +00:00
|
|
|
# Kernel config based on: arch/arm/configs/aosp_shinano_scorpion_defconfig
|
|
|
|
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=linux-sony-scorpion
|
2018-02-03 11:34:51 +00:00
|
|
|
pkgver=3.10.84
|
2021-09-03 16:55:26 +00:00
|
|
|
pkgrel=4
|
2018-02-03 11:34:51 +00:00
|
|
|
pkgdesc="Xperia Z3 Tablet Compact kernel fork"
|
|
|
|
arch="armhf"
|
|
|
|
_carch="arm"
|
|
|
|
_flavor="sony-scorpion"
|
|
|
|
url="https://kernel.org"
|
|
|
|
license="GPL2"
|
2020-04-21 01:24:27 +00:00
|
|
|
options="!strip !check !tracedeps pmb:cross-native"
|
2020-02-18 08:34:06 +00:00
|
|
|
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev gcc6"
|
2018-10-01 06:44:18 +00:00
|
|
|
|
|
|
|
# Compiler: this kernel was only tested with GCC6. Feel free to make a merge
|
|
|
|
# request if you find out that it is booting working with newer GCCs as
|
|
|
|
# well. See <https://postmarketos.org/vendorkernel> for instructions.
|
|
|
|
if [ "${CC:0:5}" != "gcc6-" ]; then
|
|
|
|
CC="gcc6-$CC"
|
2018-11-30 20:56:06 +00:00
|
|
|
HOSTCC="gcc6-gcc"
|
2018-10-01 06:44:18 +00:00
|
|
|
CROSS_COMPILE="gcc6-$CROSS_COMPILE"
|
|
|
|
fi
|
2018-02-03 11:34:51 +00:00
|
|
|
|
|
|
|
# Source
|
|
|
|
_repository="kernel"
|
|
|
|
_commit="1cc4f02f27228698213af5dac9ff690ea0e27d55"
|
2020-02-28 09:59:56 +00:00
|
|
|
_config="config-$_flavor.$arch"
|
2018-02-03 11:34:51 +00:00
|
|
|
source="
|
2020-02-28 09:59:56 +00:00
|
|
|
$pkgname-$_commit.tar.gz::https://github.com/lowtraxx/$_repository/archive/$_commit.tar.gz
|
2018-02-03 11:34:51 +00:00
|
|
|
$_config
|
|
|
|
00_Input-sentelic-use-static-inline-instead-of-inline.patch
|
|
|
|
00_Input-lifebook-use-static-inline-instead-of-inline-i.patch
|
|
|
|
02_reduce_lzo_compression.patch
|
2020-11-04 12:48:12 +00:00
|
|
|
gcc10-extern_YYLOC_global_declaration.patch
|
2018-02-03 11:34:51 +00:00
|
|
|
"
|
2020-02-28 09:59:56 +00:00
|
|
|
builddir="$srcdir/$_repository-$_commit"
|
2018-02-03 11:34:51 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
2020-04-01 07:09:30 +00:00
|
|
|
. downstreamkernel_prepare
|
2018-02-03 11:34:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
unset LDFLAGS
|
|
|
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
|
|
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-02-18 08:34:06 +00:00
|
|
|
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor"
|
2018-02-03 11:34:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="a3e1bd39f25da9b695fceb0282c036721352c52b7e495f37dc578d6076462c8495cbcf0714e3b03b66e564d08430f0bda6aee40ef45c437028b37ae162cace9b linux-sony-scorpion-1cc4f02f27228698213af5dac9ff690ea0e27d55.tar.gz
|
2021-04-29 11:38:24 +00:00
|
|
|
36181b0a1ddab98ef4f2cd68d33e4a25c1c8f61f1ae750e9f28d04393f98accae0af8c0cb30049ce10814da3baaf04a1cb560f96789ebfb69e5f261f4992fd89 config-sony-scorpion.armhf
|
2018-02-03 11:34:51 +00:00
|
|
|
2d77d90b501aa8afbf81629e73fc0a2055b373942975f58277e43f398d0835b3dbbff4a1118137ec82873ba90a254fea87c1d73ba7708578f1779bd0b4c6ff2d 00_Input-sentelic-use-static-inline-instead-of-inline.patch
|
|
|
|
5c49f6ff6773a7dc3067d2b1359648fe7a9f758b6c068d6fa69d9aaf24a291ba8022c960317d926aabc11d020a71b20c4e81a6fcf9b21ef66d9b6d065bae23e9 00_Input-lifebook-use-static-inline-instead-of-inline-i.patch
|
2020-11-04 12:48:12 +00:00
|
|
|
ef5b912c26fea4ab882592bdf7487942c64b123de8d25d08d976f29743f311742ee2f773bf2d110ddb5095f254dbb0bd4487c5cfce77311929082599199e7ebd 02_reduce_lzo_compression.patch
|
|
|
|
2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch"
|