%global debug_package %{nil} Name: uke-touch-tracking-check Version: 1.0.1 Release: 1%{?dist} Summary: ARM64 qualification of the fitted Uke touchscreen tracking model License: GPL-2.0-only URL: https://github.com/MCC45TR/senemos-uke-kernel-mainline Source0: linux-7.3.6.tar.xz Source1: SHA256SUMS Source2: nt36532-uke-spi.c Source3: nt36532-uke-matrix.c Source4: nt36532-uke-matrix.h Source5: nt36532-uke-protocol.c Source6: nt36532-uke-protocol.h Source7: uke-o82-touch.h Source8: nt36532-responsive-motion.patch Source9: check-motion.sh Source10: uke-running.config.gz ExclusiveArch: aarch64 BuildRequires: gcc clang llvm lld make bc bison flex BuildRequires: binutils elfutils-libelf-devel openssl-devel perl BuildRequires: bash coreutils gzip tar xz git-core libubsan %description Verify the fitted touch motion model against the inherited source and compile its actual touchscreen driver on Fedora ARM64. This package contains receipts. %prep (cd %{_sourcedir} && sha256sum -c --strict SHA256SUMS) %setup -q -n linux-7.3.6 path=drivers/input/touchscreen/nt36532-uke mkdir -p "$path" install -m0644 %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} "$path/" install -m0644 %{SOURCE7} include/linux/uke-o82-touch.h printf 'obj-m := nt36532-uke-spi.o\n' > "$path/Makefile" git apply --check --whitespace=error %{SOURCE8} git apply --whitespace=error %{SOURCE8} git apply --reverse --check --whitespace=error %{SOURCE8} sha256sum "$path/nt36532-uke-spi.c" > touch-source.sha256 gzip -dc %{SOURCE10} > .config %build path=drivers/input/touchscreen/nt36532-uke bash %{SOURCE9} "$path/nt36532-uke-spi.c" "${PWD}/checked-motion" | tee touch-tracking.txt make ARCH=arm64 LLVM=1 olddefconfig make %{?_smp_mflags} ARCH=arm64 LLVM=1 "$path/nt36532-uke-spi.o" llvm-readelf -h "$path/nt36532-uke-spi.o" | grep -F AArch64 >> touch-tracking.txt llvm-nm "$path/nt36532-uke-spi.o" | grep -F responsive_motion >> touch-tracking.txt sha256sum "$path/nt36532-uke-spi.o" >> touch-tracking.txt %install install -Dm644 touch-tracking.txt %{buildroot}%{_datadir}/uke-touch-tracking-check/check.txt install -Dm644 touch-source.sha256 %{buildroot}%{_datadir}/uke-touch-tracking-check/source.sha256 %files %license COPYING %{_datadir}/uke-touch-tracking-check/ %changelog * Mon Nov 30 2026 Uke Linux - 1.0.1-1 - Compile against the inherited signed wet-filter matrix interface.