From 6254328c35f243ba19cf907f651d37eb35a074ca Mon Sep 17 00:00:00 2001 From: Minecrell Date: Fri, 28 Feb 2020 11:21:06 +0100 Subject: [PATCH] device/linux-*: remove empty variables (!1007) Using commands like sed -i '/^subpackages=""$/d' linux-*/APKBUILD [ci:skip-build] [ci:skip-vercheck] --- device/linux-asus-flo/APKBUILD | 3 --- device/linux-google-crosshatch-mainline/APKBUILD | 2 -- device/linux-htc-ace/APKBUILD | 3 --- device/linux-huawei-angler/APKBUILD | 3 --- device/linux-lg-d285/APKBUILD | 3 --- device/linux-lg-d855/APKBUILD | 3 --- device/linux-lg-dory/APKBUILD | 3 --- device/linux-lg-lenok/APKBUILD | 3 --- device/linux-motorola-osprey/APKBUILD | 3 --- device/linux-nokia-n9/APKBUILD | 2 -- device/linux-oneplus-onyx/APKBUILD | 2 -- device/linux-samsung-i9305/APKBUILD | 3 --- device/linux-samsung-n7100/APKBUILD | 3 --- device/linux-sony-castor-windy/APKBUILD | 3 --- device/linux-sony-nicki-mainline/APKBUILD | 2 -- device/linux-t2m-flame/APKBUILD | 3 --- device/linux-teclast-x80pro/APKBUILD | 2 -- 17 files changed, 46 deletions(-) diff --git a/device/linux-asus-flo/APKBUILD b/device/linux-asus-flo/APKBUILD index 5b236f174..64c468b69 100644 --- a/device/linux-asus-flo/APKBUILD +++ b/device/linux-asus-flo/APKBUILD @@ -6,10 +6,8 @@ pkgrel=2 arch="armhf" pkgdesc="Upstream stable kernel with patches for Nexus 7 2013 WIFI" url="https://git.linaro.org/people/john.stultz/flo.git/log/?h=flo-v4.11" -depends="" makedepends="xz perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev" options="!strip !check !tracedeps" -install= source="$pkgname-$pkgver.tar.xz::https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$pkgver.tar.xz $_config 00_Collapse_usb_support_into_one_node.patch @@ -26,7 +24,6 @@ source="$pkgname-$pkgver.tar.xz::https://cdn.kernel.org/pub/linux/kernel/v${pkgv 11_Configure_dma_operations_at_probe_time.patch 12_Handle_IOMMU_lookup_failure_with_deferred_probing_or_error.patch " -subpackages="" license="GPL2" _abi_release=$pkgver _carch="arm" diff --git a/device/linux-google-crosshatch-mainline/APKBUILD b/device/linux-google-crosshatch-mainline/APKBUILD index 8672677b3..0a3797d5f 100644 --- a/device/linux-google-crosshatch-mainline/APKBUILD +++ b/device/linux-google-crosshatch-mainline/APKBUILD @@ -18,10 +18,8 @@ pkgrel=0 arch="aarch64" pkgdesc="Google Pixel 3 XL mainline kernel; only USB networking works, nothing else" url="https://kernel.org/" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev openssl-dev file bison flex" options="!strip !check !tracedeps" -install= _repository="linux" _commit="9c9b87cec239101274451cc9c086da60108f9fda" diff --git a/device/linux-htc-ace/APKBUILD b/device/linux-htc-ace/APKBUILD index d9158cf31..3161c2305 100644 --- a/device/linux-htc-ace/APKBUILD +++ b/device/linux-htc-ace/APKBUILD @@ -25,10 +25,8 @@ pkgrel=14 arch="armv7" pkgdesc="HTC Desire kernel from OpenDesireProject" url="https://github.com/OpenDesireProject/android_kernel_htc_msm7x30" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev xz gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_hash.tar.gz::https://github.com/OpenDesireProject/android_kernel_htc_msm7x30/archive/$_hash.tar.gz $_config @@ -36,7 +34,6 @@ source=" 02_gpu-msm-fix-gcc5-compile.patch 03_msm-fb-pixclock.patch " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-huawei-angler/APKBUILD b/device/linux-huawei-angler/APKBUILD index 1d3a4662b..fcefd8a16 100644 --- a/device/linux-huawei-angler/APKBUILD +++ b/device/linux-huawei-angler/APKBUILD @@ -24,17 +24,14 @@ pkgrel=9 arch="aarch64" pkgdesc="LineageOS kernel for Nexus 6P Angler" url="https://github.com/LineageOS/android_kernel_huawei_angler" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_hash.tar.gz::https://github.com/LineageOS/android_kernel_huawei_angler/archive/$_hash.tar.gz $_config compiler-gcc6.h kernel-use-the-gnu89-standard-explicitly.patch " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-lg-d285/APKBUILD b/device/linux-lg-d285/APKBUILD index ac82a3198..7e3eb903d 100644 --- a/device/linux-lg-d285/APKBUILD +++ b/device/linux-lg-d285/APKBUILD @@ -18,10 +18,8 @@ pkgrel=7 arch="armhf" pkgdesc="LineageOS kernel for LG L65" url="https://github.com/LineageOS/android_kernel_lge_msm8226" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_hash.tar.gz::https://github.com/LineageOS/android_kernel_lge_msm8226/archive/$_hash.tar.gz $_config @@ -30,7 +28,6 @@ source=" 02_gpu-msm-fix-gcc5-compile.patch 03_mdss_fb_refresh_rate.patch " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-lg-d855/APKBUILD b/device/linux-lg-d855/APKBUILD index ed29c334f..9cc3db202 100644 --- a/device/linux-lg-d855/APKBUILD +++ b/device/linux-lg-d855/APKBUILD @@ -24,17 +24,14 @@ pkgrel=12 arch="armhf" pkgdesc="LG G3 kernel from LineageOS" url="https://github.com/LineageOS/android_kernel_lge_g3" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev xz gcc6" options="!strip !check !tracedeps" -install= source=" $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 " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-lg-dory/APKBUILD b/device/linux-lg-dory/APKBUILD index c1f368f82..e5f91af34 100644 --- a/device/linux-lg-dory/APKBUILD +++ b/device/linux-lg-dory/APKBUILD @@ -24,10 +24,8 @@ pkgrel=5 arch="armhf" pkgdesc="Kernel for LG G Watch" url="https://android.googlesource.com/kernel/msm/+/android-msm-dory-3.10-marshmallow-mr1-wear-release" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev devicepkg-dev gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_hash.tar.gz::https://github.com/android/kernel_msm/archive/$_hash.tar.gz $_config @@ -37,7 +35,6 @@ source=" 02_fix_mdss_fb_refresh_rate.patch 03_fix_mdss_fb_memory_allocation.patch " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-lg-lenok/APKBUILD b/device/linux-lg-lenok/APKBUILD index aa37666a8..5f977ccc2 100644 --- a/device/linux-lg-lenok/APKBUILD +++ b/device/linux-lg-lenok/APKBUILD @@ -26,17 +26,14 @@ pkgrel=12 arch="armhf" pkgdesc="G Watch R kernel" url="https://github.com/pmsourcedump/kernel_lge_bass-lenok" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_hash.tar.gz::$url/archive/$_hash.tar.gz $_config compiler-gcc6.h 02_mdss_fb_refresh_rate.patch " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-motorola-osprey/APKBUILD b/device/linux-motorola-osprey/APKBUILD index 093153099..e565a7f85 100644 --- a/device/linux-motorola-osprey/APKBUILD +++ b/device/linux-motorola-osprey/APKBUILD @@ -12,10 +12,8 @@ pkgrel=6 arch="armhf" pkgdesc="Moto G (2015) kernel from LineageOS" url="https://github.com/LineageOS/android_kernel_motorola_msm8916" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev dtbtool gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_hash.tar.gz::https://github.com/LineageOS/android_kernel_motorola_msm8916/archive/$_hash.tar.gz $_config @@ -23,7 +21,6 @@ source=" Wno-error.patch 02_mdss_fb_refresh_rate.patch " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-nokia-n9/APKBUILD b/device/linux-nokia-n9/APKBUILD index 681d3c1de..1df83dada 100644 --- a/device/linux-nokia-n9/APKBUILD +++ b/device/linux-nokia-n9/APKBUILD @@ -16,7 +16,6 @@ pkgrel=0 arch="armhf" pkgdesc="Nokia N9 kernel" url="https://kernel.org" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers openssl-dev flex bison" options="!strip !check !tracedeps" source=" @@ -36,7 +35,6 @@ source=" $_config RM-696_Pyrenees_SMD_V1_6.raw " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-oneplus-onyx/APKBUILD b/device/linux-oneplus-onyx/APKBUILD index 3706b19fb..608744f02 100644 --- a/device/linux-oneplus-onyx/APKBUILD +++ b/device/linux-oneplus-onyx/APKBUILD @@ -37,7 +37,6 @@ pkgdesc="LineageOS 14.1 kernel for OnePlus X (onyx)" url="https://github.com/LineageOS/android_kernel_oneplus_onyx" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev xz dtbtool gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_version.tar.gz::https://github.com/LineageOS/android_kernel_oneplus_onyx/archive/$_version.tar.gz $_config @@ -49,7 +48,6 @@ source=" 00_Input-lifebook-use-static-inline-instead-of-inline-i.patch 02_gpu-msm-fix-gcc5-compile.patch " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-samsung-i9305/APKBUILD b/device/linux-samsung-i9305/APKBUILD index f9583cc2e..f6ac668db 100644 --- a/device/linux-samsung-i9305/APKBUILD +++ b/device/linux-samsung-i9305/APKBUILD @@ -26,16 +26,13 @@ pkgrel=6 arch="armhf" pkgdesc="Samsung Galaxy SIII LTE kernel from LineageOS" url="https://github.com/LineageOS/android_kernel_samsung_smdk4412" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev xz busybox-static-armhf gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_hash.tar.gz::https://github.com/LineageOS/android_kernel_samsung_smdk4412/archive/$_hash.tar.gz $_config compiler-gcc6.h " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-samsung-n7100/APKBUILD b/device/linux-samsung-n7100/APKBUILD index 6b9e765e7..02f404cd3 100644 --- a/device/linux-samsung-n7100/APKBUILD +++ b/device/linux-samsung-n7100/APKBUILD @@ -28,10 +28,8 @@ pkgrel=8 arch="armhf" pkgdesc="Samsung Galaxy Note II (GSM) Kernel from ParanoidNote" url="https://github.com/bigbiff/android_kernel_samsung_smdk4412" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_hash.tar.gz::https://github.com/bigbiff/android_kernel_samsung_smdk4412/archive/$_hash.tar.gz $_config @@ -40,7 +38,6 @@ source=" fimc_lite.patch extdsp_inline.patch " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-sony-castor-windy/APKBUILD b/device/linux-sony-castor-windy/APKBUILD index ddc61c711..5e339eff9 100644 --- a/device/linux-sony-castor-windy/APKBUILD +++ b/device/linux-sony-castor-windy/APKBUILD @@ -24,17 +24,14 @@ pkgrel=6 arch="armhf" pkgdesc="Sony Xperia Z2 Tablet kernel" url="https://github.com/andersson" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_branch.tar.gz::https://github.com/andersson/kernel/archive/$_branch.tar.gz $_config mmc-wifi-fix.patch compiler-gcc6.h " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-sony-nicki-mainline/APKBUILD b/device/linux-sony-nicki-mainline/APKBUILD index 92c21c09b..52e0d5468 100644 --- a/device/linux-sony-nicki-mainline/APKBUILD +++ b/device/linux-sony-nicki-mainline/APKBUILD @@ -18,10 +18,8 @@ pkgrel=1 arch="armv7" pkgdesc="Sony Xperia M mainline kernel fork; only USB networking works" url="https://kernel.org/" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev openssl-dev file bison flex" options="!strip !check !tracedeps" -install= _repository="linux" _commit="ad6ab7f8c57896cb3829e6a80408e0912d6096c2" diff --git a/device/linux-t2m-flame/APKBUILD b/device/linux-t2m-flame/APKBUILD index 16ce8e5af..5149ca1bc 100644 --- a/device/linux-t2m-flame/APKBUILD +++ b/device/linux-t2m-flame/APKBUILD @@ -24,10 +24,8 @@ pkgrel=11 arch="armhf" pkgdesc="T2M flame kernel" url="https://github.com/mozilla-b2g/codeaurora_kernel_msm" -depends="" makedepends="dtbtool perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev gcc6" options="!strip !check !tracedeps" -install= source=" $pkgname-$_hash.tar.gz::https://github.com/mozilla-b2g/codeaurora_kernel_msm/archive/$_hash.tar.gz $_config @@ -39,7 +37,6 @@ source=" 05_fix-mdp3-ctrl-off.patch 06_fix-clock.patch " -subpackages="" license="GPL2" _abi_release=$pkgver diff --git a/device/linux-teclast-x80pro/APKBUILD b/device/linux-teclast-x80pro/APKBUILD index b91e720e6..3298d4f29 100644 --- a/device/linux-teclast-x80pro/APKBUILD +++ b/device/linux-teclast-x80pro/APKBUILD @@ -17,10 +17,8 @@ pkgrel=4 arch="x86_64" pkgdesc="Linux for pmOS supported chipsets (stable)" url="https://kernel.org/" -depends="" makedepends="perl sed installkernel bash gmp-dev bc linux-headers elfutils-dev openssl-dev" options="!strip !check !tracedeps" -install= source=" https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$_kernver.tar.xz config-$_flavor.x86_64