2018-05-05 20:29:02 +00:00
|
|
|
# Kernel config based on: arch/arm/configs/kminilte_00_defconfig
|
|
|
|
|
2020-04-25 09:51:42 +00:00
|
|
|
pkgname=linux-samsung-kminilte
|
2018-05-05 20:29:02 +00:00
|
|
|
pkgver=3.4.113
|
2021-12-21 09:59:00 +00:00
|
|
|
pkgrel=9
|
2018-05-05 20:29:02 +00:00
|
|
|
pkgdesc="Samsung Galaxy S5 Mini kernel fork"
|
2020-04-06 14:23:55 +00:00
|
|
|
arch="armv7"
|
2018-05-05 20:29:02 +00:00
|
|
|
_carch="arm"
|
|
|
|
_flavor="samsung-kminilte"
|
2021-12-21 09:59:00 +00:00
|
|
|
url="https://github.com/Spookcity/android_kernel_samsung_kminilte"
|
2018-05-05 20:29:02 +00:00
|
|
|
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-05-05 20:29:02 +00:00
|
|
|
|
|
|
|
# Source
|
|
|
|
_repository="android_kernel_samsung_kminilte"
|
2021-12-21 09:59:00 +00:00
|
|
|
_commit="19064009217860c08c7167ba8be23fa9bde44fce"
|
2020-02-28 09:59:56 +00:00
|
|
|
_config="config-$_flavor.$arch"
|
2018-05-05 20:29:02 +00:00
|
|
|
source="
|
2021-12-21 09:59:00 +00:00
|
|
|
$pkgname-$_commit.tar.gz::https://github.com/Spookcity/$_repository/archive/$_commit.tar.gz
|
2018-05-05 20:29:02 +00:00
|
|
|
$_config
|
2020-04-12 18:46:22 +00:00
|
|
|
0001-drivers-leds-rt5033_fled-fix-use-of-usleep.patch
|
|
|
|
0002-drivers-leds-flashlight-add-support-for-setting-mode.patch
|
2021-12-21 09:59:00 +00:00
|
|
|
0003-netfilter-symbols.patch
|
2020-04-12 18:46:22 +00:00
|
|
|
"
|
2020-02-28 09:59:56 +00:00
|
|
|
builddir="$srcdir/$_repository-$_commit"
|
2018-05-05 20:29:02 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
2020-04-01 07:09:30 +00:00
|
|
|
. downstreamkernel_prepare
|
2018-05-05 20:29:02 +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-05-05 20:29:02 +00:00
|
|
|
}
|
|
|
|
|
2021-12-21 09:59:00 +00:00
|
|
|
sha512sums="
|
|
|
|
55cc9a7d1c2381bea2f4d4fc2282653d41d501e838610edd0ccf8acad9a01e05299d2c3301c55f9073db91f78a791708902ad28e5c8b7026bd6574bac395df89 linux-samsung-kminilte-19064009217860c08c7167ba8be23fa9bde44fce.tar.gz
|
2021-04-29 11:38:24 +00:00
|
|
|
1751ca36d837691afd26c13ab1ffcedc36c11ec4a5635c5da278eb8dc397da43b683ff8a82e83cc72fd8efcb1dd2f0e30e4f1cc5af89c9800ec6c9437fbe48b7 config-samsung-kminilte.armv7
|
2020-04-12 18:46:22 +00:00
|
|
|
873e4ff64521f685b7948e7a55aba4a95e3c0086b54c8e1440f67630c49a6b17b10c71837ba44d0bdb9afb05ff3ee8c0c890f0053fb79cd733aa76aed53579c2 0001-drivers-leds-rt5033_fled-fix-use-of-usleep.patch
|
2021-12-21 09:59:00 +00:00
|
|
|
fb30ea67620fc0dae62943b512662e0f3a49b7509d5f3cddda4c1552fe365535ac414f4ae960356f18228ce49d5c362c512cec7a9b671ffe96408f91b1b9fdee 0002-drivers-leds-flashlight-add-support-for-setting-mode.patch
|
|
|
|
5214a850d496bed9e17575bd0b52e9e4415bcbd5a89863f924c5bfed848f684c0a95e8d10c9ef93c0e00149f034cf5e897d1b268be35676a600b3ee6e1917501 0003-netfilter-symbols.patch
|
|
|
|
"
|