From 833f98ef01afab46108ed13d0db0fae3472cad3e Mon Sep 17 00:00:00 2001 From: Ts0p0sT Date: Sun, 30 Jun 2024 08:25:13 -0700 Subject: [PATCH] motorola-ghost: enable armv7 (was armhf) (MR 5300) --- device/testing/device-motorola-ghost/APKBUILD | 6 +++--- device/testing/device-motorola-ghost/deviceinfo | 2 +- device/testing/linux-motorola-ghost/APKBUILD | 14 +++++++++----- ...ola-ghost.armhf => config-motorola-ghost.armv7} | 0 ...replace-Sun-Solaris-style-flag-on-section.patch | 1 + 5 files changed, 14 insertions(+), 9 deletions(-) rename device/testing/linux-motorola-ghost/{config-motorola-ghost.armhf => config-motorola-ghost.armv7} (100%) create mode 120000 device/testing/linux-motorola-ghost/linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch diff --git a/device/testing/device-motorola-ghost/APKBUILD b/device/testing/device-motorola-ghost/APKBUILD index 3f29cc7f9..10b3c990d 100644 --- a/device/testing/device-motorola-ghost/APKBUILD +++ b/device/testing/device-motorola-ghost/APKBUILD @@ -1,11 +1,11 @@ # Reference: pkgname=device-motorola-ghost pkgdesc="Moto X (2013)" -pkgver=1 +pkgver=2 pkgrel=0 url="https://postmarketos.org" license="MIT" -arch="armhf" +arch="armv7" options="!check !archcheck" depends="postmarketos-base linux-motorola-ghost mkbootimg msm-fb-refresher" makedepends="devicepkg-dev" @@ -19,5 +19,5 @@ package() { } sha512sums=" -cbec9e0d0c8e3c321d92b75892d41fe7f86af1d0c43faa816f0148a70d7c3a6c2c079d6c68f25b0a3d810e5dc19a03946b4a446688be28017be2adc98095d106 deviceinfo +4e2f996fb95c9b82a90b0ec2da171dd2efcffe272212e9c0cc6b2829279202a86a16b140fb06495e557fedc521801d51119570f8cf0e4823236587a62c33af8f deviceinfo " diff --git a/device/testing/device-motorola-ghost/deviceinfo b/device/testing/device-motorola-ghost/deviceinfo index 17385729d..b5f50e5f4 100644 --- a/device/testing/device-motorola-ghost/deviceinfo +++ b/device/testing/device-motorola-ghost/deviceinfo @@ -6,7 +6,7 @@ deviceinfo_name="Motorola Moto X (2013)" deviceinfo_manufacturer="Motorola" deviceinfo_codename="motorola-ghost" deviceinfo_year="2013" -deviceinfo_arch="armhf" +deviceinfo_arch="armv7" # Device related deviceinfo_chassis="handset" diff --git a/device/testing/linux-motorola-ghost/APKBUILD b/device/testing/linux-motorola-ghost/APKBUILD index a4a11e72f..5bd78a15a 100644 --- a/device/testing/linux-motorola-ghost/APKBUILD +++ b/device/testing/linux-motorola-ghost/APKBUILD @@ -2,9 +2,9 @@ pkgname=linux-motorola-ghost pkgver=3.4.42 -pkgrel=7 +pkgrel=8 pkgdesc="Moto X (2013) kernel fork" -arch="armhf" +arch="armv7" _carch="arm" _flavor="motorola-ghost" url="https://kernel.org" @@ -34,6 +34,7 @@ source=" 03_Input-sentelic-use-static-inline-instead-of-inline.patch 04_fix-video-argb-setting.patch gcc10-extern_YYLOC_global_declaration.patch + linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch " builddir="$srcdir/$_repository-$_commit" @@ -52,11 +53,14 @@ package() { downstreamkernel_package "$builddir" "$pkgdir" "$_carch" "$_flavor" } -sha512sums="6e9700cd05af9cc27a4684fece48fa240969df11bc91fd53450496dde63df173cea2181699785439cf110874653612a8ae0493a456be8f0100aafd7eca918fa0 linux-motorola-ghost-37aee207bbd85eb20091286258a6b2529315cae8.tar.gz -97f2295bd8456871cca17817b473315a7bfacaa4f2f2e6ae0b9f36c3f6b5f50870b61e662302b7c69bdfcf39bcc33ce2322234396df1d0e211e28bd6d19c9a09 config-motorola-ghost.armhf +sha512sums=" +6e9700cd05af9cc27a4684fece48fa240969df11bc91fd53450496dde63df173cea2181699785439cf110874653612a8ae0493a456be8f0100aafd7eca918fa0 linux-motorola-ghost-37aee207bbd85eb20091286258a6b2529315cae8.tar.gz +97f2295bd8456871cca17817b473315a7bfacaa4f2f2e6ae0b9f36c3f6b5f50870b61e662302b7c69bdfcf39bcc33ce2322234396df1d0e211e28bd6d19c9a09 config-motorola-ghost.armv7 ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 01_gpu-msm-fix-gcc5-compile.patch 5c49f6ff6773a7dc3067d2b1359648fe7a9f758b6c068d6fa69d9aaf24a291ba8022c960317d926aabc11d020a71b20c4e81a6fcf9b21ef66d9b6d065bae23e9 02_Input-lifebook-use-static-inline-instead-of-inline-i.patch 2d77d90b501aa8afbf81629e73fc0a2055b373942975f58277e43f398d0835b3dbbff4a1118137ec82873ba90a254fea87c1d73ba7708578f1779bd0b4c6ff2d 03_Input-sentelic-use-static-inline-instead-of-inline.patch e3083c260ed9c4fc0d83f43106700b6173876dbfae072f6e6696ac6785a4dc17771fbcb3e21601e04ed29a11bf0f7a2a09ad549375e0c34cea245c7f2e2bcbbd 04_fix-video-argb-setting.patch -2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch +9e3b067fa1b19ad02500c4fce1b6142051df3845c508e615788beb650c4f953683107ac2d80670c4e3df38f532e0e91060d2d13ec04c9ec985abd2dfa82e900b linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch +" diff --git a/device/testing/linux-motorola-ghost/config-motorola-ghost.armhf b/device/testing/linux-motorola-ghost/config-motorola-ghost.armv7 similarity index 100% rename from device/testing/linux-motorola-ghost/config-motorola-ghost.armhf rename to device/testing/linux-motorola-ghost/config-motorola-ghost.armv7 diff --git a/device/testing/linux-motorola-ghost/linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch b/device/testing/linux-motorola-ghost/linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch new file mode 120000 index 000000000..858243081 --- /dev/null +++ b/device/testing/linux-motorola-ghost/linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch \ No newline at end of file