2018-03-11 15:59:09 +00:00
|
|
|
# Kernel config based on: arch/arm/configs/{samsung_serrano_defconfig, msm8930_serrano_eur_lte_defconfig}
|
2018-01-08 20:39:04 +00:00
|
|
|
|
2021-05-17 17:25:20 +00:00
|
|
|
pkgname=linux-samsung-serranolte
|
2018-01-08 20:39:04 +00:00
|
|
|
pkgver=3.4.113
|
2021-09-03 16:55:26 +00:00
|
|
|
pkgrel=1
|
2018-01-08 20:39:04 +00:00
|
|
|
pkgdesc="Samsung Samsung Galaxy S4 Mini kernel fork"
|
2021-05-16 16:10:28 +00:00
|
|
|
arch="armv7"
|
2018-01-08 20:39:04 +00:00
|
|
|
_carch="arm"
|
2021-05-17 17:25:20 +00:00
|
|
|
_flavor="samsung-serranolte"
|
2018-01-08 20:39:04 +00:00
|
|
|
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 xz 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-01-08 20:39:04 +00:00
|
|
|
|
|
|
|
# Source
|
|
|
|
_repository="android_kernel_samsung_msm8930-common"
|
|
|
|
_commit="c4b753a5d44f42cee2191ecf5504bccdf53c838d"
|
2020-02-28 09:59:56 +00:00
|
|
|
_config="config-$_flavor.$arch"
|
2018-01-08 20:39:04 +00:00
|
|
|
source="
|
2020-02-28 09:59:56 +00:00
|
|
|
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz
|
2018-01-08 20:39:04 +00:00
|
|
|
$_config
|
|
|
|
01_msm-fix-perf_trace_counters.patch
|
|
|
|
02_gpu-msm-fix-gcc5-compile.patch
|
2019-07-31 17:06:48 +00:00
|
|
|
03_fix-video-argb-setting.patch
|
2018-01-08 20:39:04 +00:00
|
|
|
"
|
2020-02-28 09:59:56 +00:00
|
|
|
builddir="$srcdir/$_repository-$_commit"
|
2018-01-08 20:39:04 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
2020-04-01 07:09:30 +00:00
|
|
|
. downstreamkernel_prepare
|
2018-01-08 20:39:04 +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-01-08 20:39:04 +00:00
|
|
|
}
|
|
|
|
|
2021-05-16 16:10:28 +00:00
|
|
|
sha512sums="
|
2021-05-17 17:25:20 +00:00
|
|
|
7ce3621f50e0c615795eed17fa5178ba2d2c3165b9267f80f088305f8cb591c704129d841cb4c82496f185a59669dccf61b527dbf21b548a923bdb96b666dc2d linux-samsung-serranolte-c4b753a5d44f42cee2191ecf5504bccdf53c838d.tar.gz
|
|
|
|
0adc8f464d3b96484bb6a1e1282d8d6ae804a1ccddcbbccf09491c5c385dc23500940147532ebe59b3bd5bf3bcec32a89a5843ae0b2ec7f9bd824e99e4b08118 config-samsung-serranolte.armv7
|
2018-01-08 20:39:04 +00:00
|
|
|
f85ced49ee2f2461adea68dac0a10452aa809a7d41d869092d94eb085344919a9a385dec0c48011f4601ca4f441700f7fe49075c7eca4fb2d66b01f7d413ccb7 01_msm-fix-perf_trace_counters.patch
|
2019-07-31 17:06:48 +00:00
|
|
|
7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch
|
2021-05-16 16:10:28 +00:00
|
|
|
e3083c260ed9c4fc0d83f43106700b6173876dbfae072f6e6696ac6785a4dc17771fbcb3e21601e04ed29a11bf0f7a2a09ad549375e0c34cea245c7f2e2bcbbd 03_fix-video-argb-setting.patch
|
|
|
|
"
|