From 000f01b8355f19f5b79d38ccba817085d2db0a22 Mon Sep 17 00:00:00 2001 From: dzmitry Date: Tue, 15 Sep 2020 09:44:47 +0300 Subject: [PATCH] linux-samsung-herolte : add patch to fix kernel compilation with gcc10 (MR 1578) Patch makes yyloc declaration extern. --- device/testing/linux-samsung-herolte/APKBUILD | 6 ++++-- .../gcc10-extern_YYLOC_global_declaration.patch | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) create mode 120000 device/testing/linux-samsung-herolte/gcc10-extern_YYLOC_global_declaration.patch diff --git a/device/testing/linux-samsung-herolte/APKBUILD b/device/testing/linux-samsung-herolte/APKBUILD index 6e6b9f876..3b4f320ac 100644 --- a/device/testing/linux-samsung-herolte/APKBUILD +++ b/device/testing/linux-samsung-herolte/APKBUILD @@ -3,7 +3,7 @@ pkgname=linux-samsung-herolte pkgver=3.18.140 -pkgrel=1 +pkgrel=2 pkgdesc="Samsung Galaxy S7 kernel fork" arch="aarch64" _carch="arm64" @@ -22,6 +22,7 @@ source=" $_config 01-remove-android-defines.patch 02-fix-wifi-firmware-path.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -56,4 +57,5 @@ package() { sha512sums="28a447fca84c3c1bc95b505362a989964e652ff0c11a8f99e151225c4a29971c7698c846c7826552fcdc4acff799b3150e577892df88697776ce13cd0e76ac5f linux-samsung-herolte-4f50ed696fc6ec36d277ba1af73e98d34e7bc0d6.tar.gz 99164ea34cb8c3b8cd2893ac4bb135861aa1874c9917fe94f8339d95283f0c8fceb70b273d1c4608f89c7aa896706a6545242046c80d5b36734c1486e75d469e config-samsung-herolte.aarch64 66e27a174e12d56f5b77932985f0001b551c834d68b2a1bcc1d0b7d04e555757fc9137c182bd4cf5ffd57bf2cb0918d758dfe153a6140b77f02e7b9f33ecfb2c 01-remove-android-defines.patch -ffef99094b44893d07aedf3bbf12b03f2c26fb93be4eb179ade9552ae82be6680daca06b6fc0f95064ef08fd94ef4a0b192a94f5065314a4608de8b8c413d86e 02-fix-wifi-firmware-path.patch" +ffef99094b44893d07aedf3bbf12b03f2c26fb93be4eb179ade9552ae82be6680daca06b6fc0f95064ef08fd94ef4a0b192a94f5065314a4608de8b8c413d86e 02-fix-wifi-firmware-path.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-herolte/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-herolte/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-herolte/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file