51a635d236
These haven't been used since converting the APKBUILDs to use devicepkg-dev, so remove them. [ci:skip-build] [ci:ignore-count] [ci:skip-vercheck]
54 lines
2.2 KiB
Text
54 lines
2.2 KiB
Text
# Kernel config based on: arch/arm/configs/kminilte_00_defconfig
|
|
|
|
pkgname=linux-samsung-kminilte
|
|
pkgver=3.4.113
|
|
pkgrel=6
|
|
pkgdesc="Samsung Galaxy S5 Mini kernel fork"
|
|
arch="armv7"
|
|
_carch="arm"
|
|
_flavor="samsung-kminilte"
|
|
url="https://github.com/cm-3470/android_kernel_samsung_kminilte"
|
|
license="GPL2"
|
|
options="!strip !check !tracedeps pmb:cross-native"
|
|
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev gcc6"
|
|
|
|
# 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"
|
|
HOSTCC="gcc6-gcc"
|
|
CROSS_COMPILE="gcc6-$CROSS_COMPILE"
|
|
fi
|
|
|
|
# Source
|
|
_repository="android_kernel_samsung_kminilte"
|
|
_commit="7a8c010f226189116dcf2301d338555ae0d270c3"
|
|
_config="config-$_flavor.$arch"
|
|
source="
|
|
$pkgname-$_commit.tar.gz::https://github.com/cm-3470/$_repository/archive/$_commit.tar.gz
|
|
$_config
|
|
0001-drivers-leds-rt5033_fled-fix-use-of-usleep.patch
|
|
0002-drivers-leds-flashlight-add-support-for-setting-mode.patch
|
|
"
|
|
builddir="$srcdir/$_repository-$_commit"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
. downstreamkernel_prepare
|
|
}
|
|
|
|
build() {
|
|
unset LDFLAGS
|
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
|
|
}
|
|
|
|
package() {
|
|
downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor"
|
|
}
|
|
|
|
sha512sums="351b043822d9fc25a002f07a490422341fd03671d661bb949085ef8d69042f1ae528f80ade7076aba3eaffec80f65c09fdbb600ffe04063c69d876c22a53709b linux-samsung-kminilte-7a8c010f226189116dcf2301d338555ae0d270c3.tar.gz
|
|
22485be5583ab10fa5c466758c7f3c2e31cc10979b53b4c2d7bf18c87303c4c7f009958857ff26f3b268553682a13bc3009f7ad27bc49eb163dbcbd4e03a5d9c config-samsung-kminilte.armv7
|
|
873e4ff64521f685b7948e7a55aba4a95e3c0086b54c8e1440f67630c49a6b17b10c71837ba44d0bdb9afb05ff3ee8c0c890f0053fb79cd733aa76aed53579c2 0001-drivers-leds-rt5033_fled-fix-use-of-usleep.patch
|
|
fb30ea67620fc0dae62943b512662e0f3a49b7509d5f3cddda4c1552fe365535ac414f4ae960356f18228ce49d5c362c512cec7a9b671ffe96408f91b1b9fdee 0002-drivers-leds-flashlight-add-support-for-setting-mode.patch"
|