2018-11-30 06:15:19 +00:00
|
|
|
# Reference: <https://postmarketos.org/vendorkernel>
|
2017-12-06 23:02:08 +00:00
|
|
|
# Kernel config based on: arch/arm/configs/jf_defconfig
|
|
|
|
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=linux-samsung-jflte
|
2021-07-26 15:27:49 +00:00
|
|
|
pkgver=3.4.113
|
2021-09-03 16:55:26 +00:00
|
|
|
pkgrel=1
|
2018-08-22 22:34:11 +00:00
|
|
|
pkgdesc="Samsung Galaxy S4 kernel fork"
|
2018-12-12 17:04:55 +00:00
|
|
|
arch="armv7"
|
2017-12-06 23:02:08 +00:00
|
|
|
_carch="arm"
|
2018-08-22 22:34:11 +00:00
|
|
|
_flavor="samsung-jflte"
|
2017-12-06 23:02:08 +00:00
|
|
|
url="https://kernel.org"
|
2018-11-30 06:15:19 +00:00
|
|
|
license="GPL-2.0-only"
|
2020-04-21 01:24:27 +00:00
|
|
|
options="!strip !check !tracedeps pmb:cross-native"
|
2018-11-30 06:15:19 +00:00
|
|
|
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev"
|
2018-10-01 06:44:18 +00:00
|
|
|
|
2017-12-06 23:02:08 +00:00
|
|
|
# Source
|
|
|
|
_repository="android_kernel_samsung_jf"
|
2021-07-26 15:27:49 +00:00
|
|
|
_commit="0b7873d52c2331383f37eb908e54940eeac07345"
|
2020-02-28 09:59:56 +00:00
|
|
|
_config="config-$_flavor.$arch"
|
2017-12-06 23:02:08 +00:00
|
|
|
source="
|
2020-02-28 09:59:56 +00:00
|
|
|
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz
|
2017-12-06 23:02:08 +00:00
|
|
|
$_config
|
2017-12-12 23:36:14 +00:00
|
|
|
03-fix-video-argb-setting.patch
|
2018-11-30 06:15:19 +00:00
|
|
|
gcc7-give-up-on-ilog2-const-optimizations.patch
|
|
|
|
gcc8-fix-put-user.patch
|
2021-07-26 15:27:49 +00:00
|
|
|
deduplicate-copy_net_ns.patch
|
|
|
|
nfqnl_ct_put.patch
|
2017-12-06 23:02:08 +00:00
|
|
|
"
|
2020-02-28 09:59:56 +00:00
|
|
|
builddir="$srcdir/$_repository-$_commit"
|
2017-12-06 23:02:08 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
2020-04-01 07:09:30 +00:00
|
|
|
. downstreamkernel_prepare
|
2017-12-06 23:02:08 +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"
|
2017-12-06 23:02:08 +00:00
|
|
|
}
|
|
|
|
|
2021-07-26 15:27:49 +00:00
|
|
|
sha512sums="
|
|
|
|
5301543d6f04c0b70ee8892cbc81e5c81965dd4e81b76282520f9bb7de8cebcb15323d8a58cc5ddaa29c7d7ef0107dcd9022bdbdd05e944516afbc256870513d linux-samsung-jflte-0b7873d52c2331383f37eb908e54940eeac07345.tar.gz
|
2021-04-29 11:38:24 +00:00
|
|
|
b7595ecb480aeb93007bcd941dd131a80884db44fe714c681bdd79ac330df3ae904f8d6f53243f1bdd081949cb5f4b886e051641ea83d737e7b857b4c56dfa00 config-samsung-jflte.armv7
|
2017-12-12 23:36:14 +00:00
|
|
|
e3083c260ed9c4fc0d83f43106700b6173876dbfae072f6e6696ac6785a4dc17771fbcb3e21601e04ed29a11bf0f7a2a09ad549375e0c34cea245c7f2e2bcbbd 03-fix-video-argb-setting.patch
|
2018-11-30 06:15:19 +00:00
|
|
|
77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch
|
2019-01-22 22:59:16 +00:00
|
|
|
197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch
|
2021-07-26 15:27:49 +00:00
|
|
|
213717aabd91c8b1fe93f113a33e8d859d29e319ae49b9c751bf4abdedc4ee3bc972a55141cf879876009001fedd055b07cae42aeffdc73535f2e99857f3a101 deduplicate-copy_net_ns.patch
|
|
|
|
9bc646815e5064fade207b3cc62a7bfdef8edb2e8b9edf9c2110e35517001ead2f5a4725247dfcf734e1ce9f8cfdd1414338cae425ecdc4874cfcf1ead22cd05 nfqnl_ct_put.patch
|
|
|
|
"
|