device/linux-*: remove all usages of _vendor (!1007)

Those are pretty stupid.
This commit is contained in:
Minecrell 2020-02-28 10:59:19 +01:00
parent 447b2e6fd2
commit ed2333c279
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61
15 changed files with 9 additions and 25 deletions

View file

@ -1,4 +1,3 @@
_vendor=asus
_flavor=asus-flo
_config="config-${_flavor}.armhf"
pkgname=linux-${_flavor}

View file

@ -11,7 +11,6 @@
# - disable KINETO_GAN (caused problems when used with networkmanager, dhcpcd)
# - patch framebuffer to report refresh rate of 60Hz
_vendor=htc
_flavor=htc-ace
_config="config-${_flavor}.armv7"
_hash="887cd64b8361ac89ac56810460947a537112bdc9"

View file

@ -10,7 +10,6 @@
# - enable devtmpfs (needed for udev -> touch support in weston)
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=huawei
_flavor=huawei-angler
_hash="04d1557af1259b211609fa41adbe852b5f9cf2da"
_config="config-${_flavor}.aarch64"

View file

@ -4,7 +4,6 @@
# - enable devtmpfs (needed for udev -> touch support in weston)
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=lg
_flavor=lg-d285
_hash="75a583b12772acf3a6e7422cf781ddd7a9e9a5c5"
_config="config-lg-d285.armhf"

View file

@ -10,7 +10,6 @@
# - enable devtmpfs (needed for udev -> touch support in weston)
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=lge
_flavor=lg-d855
_hash="efce7b0879c76224f5bf37d8a1025eaed99192b0"
_config="config-${_flavor}.armhf"
@ -30,7 +29,7 @@ makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev x
options="!strip !check !tracedeps"
install=
source="
$pkgname-$_hash.tar.gz::https://github.com/LineageOS/android_kernel_${_vendor}_g3/archive/${_hash}.tar.gz
$pkgname-$_hash.tar.gz::https://github.com/LineageOS/android_kernel_lge_g3/archive/${_hash}.tar.gz
$_config
compiler-gcc6.h
02_gpu-msm-fix-gcc5-compile.patch
@ -50,7 +49,7 @@ if [ "${CC:0:5}" != "gcc6-" ]; then
CROSS_COMPILE="gcc6-$CROSS_COMPILE"
fi
ksrcdir="$srcdir/android_kernel_${_vendor}_g3-${_hash}"
ksrcdir="$srcdir/android_kernel_lge_g3-${_hash}"
prepare() {
local _patch_failed=

View file

@ -10,7 +10,6 @@
# - enabled CONFIG_VT (needed for weston to work)
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=lge
_flavor=lg-dory
_hash="6924014484d3406e3d2da384efc20e40e8a5ae80"
_config="config-${_flavor}.armhf"

View file

@ -12,7 +12,6 @@
# - Enable generation of dtb
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=lge
_flavor=lg-lenok
_hash="7044f08636f6b8407bb00404a2e27ae0ce859f1e"
_config="config-${_flavor}.armhf"

View file

@ -1,4 +1,3 @@
_vendor=motorola
_flavor=motorola-osprey
_hash="ac87541051278c7ea7f494c0b689d08e4a5cdd4f"
_config="config-${_flavor}.armhf"
@ -39,7 +38,7 @@ if [ "${CC:0:5}" != "gcc6-" ]; then
CROSS_COMPILE="gcc6-$CROSS_COMPILE"
fi
ksrcdir="$srcdir/android_kernel_${_vendor}_msm8916-${_hash}"
ksrcdir="$srcdir/android_kernel_motorola_msm8916-${_hash}"
prepare() {
local _patch_failed=

View file

@ -14,7 +14,6 @@
# - mdss: hardcode refresh rate in the video driver
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=motorola
_flavor=motorola-titan
_commit="22bc4ed7f4149f95c84634e6c1baccbbd16c5cc5"
_config="config-$_flavor.armv7"

View file

@ -11,7 +11,6 @@
# - enable virtual terminal
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=oneplus
_flavor=oneplus-bacon
_version="dd65620ba04a8c6ba0e30553c9c95388daefae02"
_config="config-${_flavor}.armv7"

View file

@ -1,7 +1,7 @@
#****
# This kernel doesn't work properly!
# The kernel will panic whenever you attempt to use the framebuffer (and probably other things).
# Note that this seems to be a gcc6/pmOS toolchain issue - as applying 00_mt_width_major_params.patch and using
# Note that this seems to be a gcc6/pmOS toolchain issue - as applying 00_mt_width_major_params.patch and using
# config-oneplus-onyx.armhf with this kernel source in the Lineage toolchain will build & work fine.
# See https://gitlab.com/postmarketOS/pmbootstrap/issues/848.
#****
@ -11,7 +11,7 @@
# - add extra patches to support GCC 6
# - Add 00_dontpanic.patch to prevent device from entering a download mode upon panic (reboot instead). CONFIG_MSM_DLOAD_MODE was also disabled.
# - 00_mt_width_major_params.patch - Fixes touchscreen being rejected by libinput/weston because of params not being set.
# -
# -
#
# Kernel config based on: arch/arm/configs/lineageos_onyx_defconfig
# Changes:
@ -21,7 +21,6 @@
# - Disable ANDROID_PARANOID_NETWORK
# - Enable SYSVIPC.
_vendor=oneplus
_flavor=oneplus-onyx
_version="c83d4835d228f8330da7e33846eec33c64608349"
_config="config-${_flavor}.armhf"

View file

@ -12,7 +12,6 @@
# - add kernel modules installation
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=samsung
_flavor=samsung-i9305
_hash="fa8fa332fdec11744ffe0c742775cc22efe0d041"
_config="config-${_flavor}.armhf"
@ -32,7 +31,7 @@ makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev x
options="!strip !check !tracedeps"
install=
source="
$pkgname-$_hash.tar.gz::https://github.com/LineageOS/android_kernel_${_vendor}_smdk4412/archive/${_hash}.tar.gz
$pkgname-$_hash.tar.gz::https://github.com/LineageOS/android_kernel_samsung_smdk4412/archive/${_hash}.tar.gz
$_config
compiler-gcc6.h
"
@ -51,7 +50,7 @@ if [ "${CC:0:5}" != "gcc6-" ]; then
CROSS_COMPILE="gcc6-$CROSS_COMPILE"
fi
ksrcdir="$srcdir/android_kernel_${_vendor}_smdk4412-${_hash}"
ksrcdir="$srcdir/android_kernel_samsung_smdk4412-${_hash}"
prepare() {
local _patch_failed=
@ -94,7 +93,7 @@ build() {
KBUILD_BUILD_VERSION="$((pkgrel + 1))-Alpine"
echo "-- [ Build modules ] --"
# the 'no-pic' flag is necessary to avoid the
# the 'no-pic' flag is necessary to avoid the
# error 'Unknown symbol _GLOBAL_OFFSET_TABLE_ (err 0)' when loading the module
make ARCH="$_carch" CC="${CC:-gcc}" CFLAGS_MODULE="-fno-pic" \
KBUILD_BUILD_VERSION="$((pkgrel + 1))-Alpine" CONFIG_NO_ERROR_ON_MISMATCH=y \
@ -109,7 +108,7 @@ package() {
install -D "$srcdir/build/include/config/kernel.release" \
"$pkgdir/usr/share/kernel/$_flavor/kernel.release"
cd "$srcdir"/build
unset LDFLAGS

View file

@ -14,8 +14,6 @@
# timeconst_fix.patch: Removed condition for deprecated feature in Perl (bug present in Linux 3.9 and under)
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=samsung
_flavor=samsung-n7100
_hash="5790cd7defee9cb6f9b392af4e3569e51230917a"
_config="config-${_flavor}.armhf"

View file

@ -10,7 +10,6 @@
# CONFIG_KERNEL_GZIP=y (so it works with busybox)
# - disable proprietary graphics driver
_vendor=sony
_flavor=sony-castor-windy
_branch=next
_config="config-${_flavor}.armhf"

View file

@ -10,7 +10,6 @@
# - enable devtmpfs (needed for udev -> touch support in weston)
# - disable ANDROID_PARANOID_NETWORK (removes network restrictions)
_vendor=t2m
_flavor=t2m-flame
_hash="03396c93577aafae7ca3603de1c74eafd30e7d54"
_config="config-${_flavor}.armhf"