samsung-p4wifi: use linux-postmarketos-grate package (MR 2579)
[ci:skip-build] Already built on CI in MR
This commit is contained in:
parent
be087c50c9
commit
c77fcd959f
5 changed files with 5 additions and 5454 deletions
|
@ -1,14 +1,14 @@
|
|||
# Reference: <https://postmarketos.org/devicepkg>
|
||||
pkgname=device-samsung-p4wifi
|
||||
pkgdesc="Galaxy Tab 10.1"
|
||||
pkgver=0.3
|
||||
pkgrel=13
|
||||
pkgver=0.4
|
||||
pkgrel=0
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="armv7"
|
||||
options="!check !archcheck"
|
||||
depends="postmarketos-base
|
||||
linux-samsung-p4wifi
|
||||
linux-postmarketos-grate
|
||||
mkbootimg
|
||||
alsa-utils
|
||||
mesa-dri-swrast
|
||||
|
@ -53,7 +53,7 @@ x11() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
8415a053db7da873af95e3e3f34d1844a668733d8851eae7f2225577f517e51cbe9a25f6a2ab8ad19836c688079e1ef2a236c86793fe9a8cd3c56d83179e781f deviceinfo
|
||||
3c426fefc3214a09343ad9a6e7b2077045991f5c949ebbae45d0e37906486a0f17a5edae087a975de0c666db4e9096e4b6e25dd2adff451aa180287b20bccec1 deviceinfo
|
||||
e457d1095b4c5da105d83a3951ca8d4c5074384a1280dcc95f8a8c24aff64c32a807968ad449d335fbafba528050436c283036869fc979aced6e613892e46fca modules-load.conf
|
||||
56b865bab0714aed53bd6535ebefd2f3629ec78786e8f87dcae4637cfacb5912d28dc39d1fe0287d34bb36b4a8371481f54647e1b25190afbcd23ed30fe7edac modprobe.conf
|
||||
9c5c332e26b7eedb6eaa1631d133a9e430ee9322f62c80d4709b4d11b73566ae85b818e510bf1762bc8a1cc8cb617e400ddcf2583db11106b272ae65faf355cb 90-device-samsung-p4wifi-audio.rules
|
||||
|
|
|
@ -8,6 +8,7 @@ deviceinfo_codename="samsung-p4wifi"
|
|||
deviceinfo_year="2011"
|
||||
deviceinfo_dtb="tegra20-p4wifi"
|
||||
deviceinfo_append_dtb="true"
|
||||
deviceinfo_modules_initfs="max17042-battery max8903-charger panel-samsung-cmc6230r atmel-mxt-ts stmpe"
|
||||
deviceinfo_arch="armv7"
|
||||
|
||||
# Device related
|
||||
|
|
|
@ -1,73 +0,0 @@
|
|||
# Kernel config based on: arch/arm/configs/tegra_defconfig
|
||||
|
||||
pkgname=linux-samsung-p4wifi
|
||||
pkgver=5.0
|
||||
pkgrel=3
|
||||
pkgdesc="Galaxy Tab 10.1 kernel"
|
||||
arch="armv7"
|
||||
_carch="arm"
|
||||
_flavor="samsung-p4wifi"
|
||||
url="https://kernel.org"
|
||||
license="GPL2"
|
||||
options="!strip !check !tracedeps pmb:cross-native"
|
||||
makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev xz flex bison openssl-dev"
|
||||
|
||||
# Source
|
||||
_repository="linux"
|
||||
_rev="8de8fd48d3a4765b7cef982e550cc06b806d5977"
|
||||
_config="config-$_flavor.$arch"
|
||||
source="
|
||||
$pkgname-$_rev.tar.gz::https://github.com/decatf/$_repository/archive/$_rev.tar.gz
|
||||
$_config
|
||||
linux4.17-gcc10-extern_YYLOC_global_declaration.patch
|
||||
"
|
||||
builddir="$srcdir/$_repository-$_rev"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
|
||||
mkdir -p "$srcdir"/build
|
||||
cp -v "$srcdir"/$_config "$srcdir"/build/.config
|
||||
make -C "$builddir" O="$srcdir"/build ARCH="$_carch" \
|
||||
olddefconfig
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/build
|
||||
unset LDFLAGS
|
||||
make ARCH="$_carch" CC="${CC:-gcc}" \
|
||||
KBUILD_BUILD_VERSION="$((pkgrel + 1 ))-$_flavor" \
|
||||
CFLAGS_MODULE=-fno-pic
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/build/arch/$_carch/boot"
|
||||
|
||||
if [ "$CARCH" == "aarch64" ]; then
|
||||
install -Dm644 "$srcdir/build/arch/$_carch/boot/Image" \
|
||||
"$pkgdir/boot/vmlinuz"
|
||||
else
|
||||
install -Dm644 "$srcdir/build/arch/$_carch/boot/"*zImage \
|
||||
"$pkgdir/boot/vmlinuz"
|
||||
fi
|
||||
|
||||
install -D "$srcdir/build/include/config/kernel.release" \
|
||||
"$pkgdir/usr/share/kernel/$_flavor/kernel.release"
|
||||
|
||||
cd "$srcdir"/build
|
||||
|
||||
local _install
|
||||
case "$CARCH" in
|
||||
aarch64*|arm*) _install="modules_install dtbs_install" ;;
|
||||
*) _install="modules_install" ;;
|
||||
esac
|
||||
|
||||
make -j1 $_install \
|
||||
ARCH="$_carch" \
|
||||
INSTALL_MOD_PATH="$pkgdir" \
|
||||
INSTALL_DTBS_PATH="$pkgdir/usr/share/dtb"
|
||||
}
|
||||
|
||||
sha512sums="2fdcb7ecefc09dfe763f58bae085740b0279ec255e082f663b49e5d324f5af83a5691d681204a0ff07d3e89d0666728007ce620aa921f79c43f5b3481756320b linux-samsung-p4wifi-8de8fd48d3a4765b7cef982e550cc06b806d5977.tar.gz
|
||||
e648f295e554ecd360b8e4f60093482c807cedd3dcb5c6d05dd7efbc1fe3bc1de92d32bb913d7db1d66bd5efcf239a7dd465e302106bc9fd585c01faf7d7c124 config-samsung-p4wifi.armv7
|
||||
27827877040007fc1c4c719f7e2e19e5c272d44972415cfc53feba0313d87e4074f8204bdb13cbc5fe21ea61bf595314b68f10c081e7b7bac3c888b60f008acf linux4.17-gcc10-extern_YYLOC_global_declaration.patch"
|
File diff suppressed because it is too large
Load diff
|
@ -1 +0,0 @@
|
|||
../../.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch
|
Loading…
Reference in a new issue