2021-11-02 11:34:32 +00:00
|
|
|
# Maintainer: Mighty <mightymb17@gmail.com>
|
|
|
|
# Co-Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
|
2021-08-11 07:26:53 +00:00
|
|
|
pkgname=linux-samsung-espresso3g
|
2021-11-22 07:17:25 +00:00
|
|
|
pkgver=5.15.2
|
2021-11-02 11:34:32 +00:00
|
|
|
pkgrel=0
|
2021-08-11 07:26:53 +00:00
|
|
|
pkgdesc="Samsung Galaxy Tab 2 (7.0 inch) mainline kernel"
|
|
|
|
arch="armv7"
|
|
|
|
_carch="arm"
|
|
|
|
_flavor="samsung-espresso3g"
|
|
|
|
url="https://kernel.org"
|
|
|
|
license="GPL2"
|
2021-09-25 11:16:34 +00:00
|
|
|
options="!strip !check !tracedeps
|
|
|
|
pmb:cross-native
|
|
|
|
pmb:kconfigcheck-anbox
|
|
|
|
pmb:kconfigcheck-containers
|
|
|
|
pmb:kconfigcheck-nftables
|
|
|
|
pmb:kconfigcheck-zram"
|
2021-11-19 12:53:46 +00:00
|
|
|
makedepends="openssl-dev yaml-dev mpc1-dev mpfr-dev xz findutils bison flex perl sed bash gmp-dev bc linux-headers elfutils-dev"
|
2021-11-22 07:17:25 +00:00
|
|
|
_commit="6ba3430a6fad45bf35f2634809e4f3a12f85cb89"
|
2021-08-11 07:26:53 +00:00
|
|
|
_config="config-$_flavor.$arch"
|
|
|
|
source="
|
2021-11-22 07:17:25 +00:00
|
|
|
$pkgname-$_commit.tar.gz::https://github.com/tmlind/linux_openpvrsgx/archive/$_commit.tar.gz
|
2021-09-16 06:17:49 +00:00
|
|
|
00-add-espresso-dts.patch
|
2021-08-11 07:26:53 +00:00
|
|
|
$_config
|
|
|
|
"
|
|
|
|
builddir="$srcdir/linux_openpvrsgx-$_commit"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
cp "$srcdir/config-$_flavor.$arch" .config
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
unset LDFLAGS
|
|
|
|
make ARCH="$_carch" CC="${CC:-gcc}" \
|
|
|
|
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-postmarketOS"
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
install -Dm644 "$builddir/arch/$_carch/boot/"*zImage \
|
2021-08-25 19:35:59 +00:00
|
|
|
"$pkgdir/boot/vmlinuz"
|
2021-08-11 07:26:53 +00:00
|
|
|
|
|
|
|
install -D "$builddir"/include/config/kernel.release \
|
|
|
|
"$pkgdir"/usr/share/kernel/$_flavor/kernel.release
|
|
|
|
|
2021-11-19 12:53:46 +00:00
|
|
|
make modules_install dtbs_install \
|
2021-08-11 07:26:53 +00:00
|
|
|
ARCH="$_carch" \
|
|
|
|
INSTALL_MOD_PATH="$pkgdir" \
|
|
|
|
INSTALL_DTBS_PATH="$pkgdir/usr/share/dtb"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
2021-11-22 07:17:25 +00:00
|
|
|
c1f1372afc303cabb55210c7c46a694eff3bc0d7871efee7a690488b782b0c2cb48dbccc43b454a7cf96cfea796397f621d338e791172a8d1f62b26b2e1d54cb linux-samsung-espresso3g-6ba3430a6fad45bf35f2634809e4f3a12f85cb89.tar.gz
|
|
|
|
c914516703fdb42f3b33ee3f449222a81c06b3c9a3dd4f9a24ad55a9b32cf0828bf557897157296a9e5edbe92a898cdd42d147b196162750010e1d087f80ab39 00-add-espresso-dts.patch
|
|
|
|
4afcca55621a626cfc37fc571af916e794b201417897ba19d5d9394e7b843b14f6095033a4a4b4f9c2e15bce27e687930d5dfed27253e64bf2a4c78ebbe637c8 config-samsung-espresso3g.armv7
|
2021-08-11 07:26:53 +00:00
|
|
|
"
|