Name: uke-camera-ife860-check Version: 7.3.7 Release: 3%{?dist} Summary: Compile the fitted Uke IFE860 source preview as AArch64 objects License: GPL-2.0-only ExclusiveArch: aarch64 Source0: uke-camera-ife860-check.tar.xz Source1: linux-7.3.7.tar.xz BuildRequires: bash bc bison flex make tar xz perl openssl-devel elfutils-libelf-devel BuildRequires: clang = 23.1.6-1.fc46 BuildRequires: llvm = 23.1.6-1.fc46 BuildRequires: lld = 23.1.6-1.fc46 BuildRequires: compiler-rt coreutils %description Build the fitted receiver and IFE860 source preview over Linux 7.3.7 on AArch64. %prep printf '%%s %%s\n' b84cee5e22ee3ad6f277851d9209c78003f21590a248df161b9ccced082d7446 "%{SOURCE0}" | sha256sum --strict -c - printf '%%s %%s\n' c4cbb90c12f90d59e49320b9ab0b5e7b7de0c15dd56ede5bc0c81ba16b30e59d "%{SOURCE1}" | sha256sum --strict -c - tar -xJf "%{SOURCE1}" tar -xJf "%{SOURCE0}" -C linux-%{version} %build src=$PWD/linux-%{version} out=$PWD/out base=drivers/media/platform/qcom/camss mkdir "$out" args=(O="$out" ARCH=arm64 LLVM=1 LLVM_IAS=1) make -s -C "$src" "${args[@]}" defconfig bash "$src/scripts/config" --file "$out/.config" \ --enable ARCH_QCOM --enable I2C --enable MEDIA_SUPPORT --disable MEDIA_SUPPORT_FILTER \ --enable MEDIA_PLATFORM_SUPPORT --enable MEDIA_CAMERA_SUPPORT --enable VIDEO_DEV \ --enable MEDIA_CONTROLLER --enable VIDEO_V4L2_SUBDEV_API --enable VIDEO_QCOM_CAMSS \ --enable NVMEM --enable REGMAP_I2C --enable REGULATOR make -s -C "$src" "${args[@]}" -j4 olddefconfig prepare grep -Fx 'CONFIG_VIDEO_QCOM_CAMSS=y' "$out/.config" make -s -C "$src" "${args[@]}" -j4 "$base/" drivers/media/v4l2-core/v4l2-isp.o drivers/media/v4l2-core/v4l2-device.o drivers/media/i2c/uke-cn3927v.o objects=(camss.o camss-csid-gen3.o camss-csiphy.o camss-csiphy-3ph-1-0.o camss-vfe-780.o camss-vfe-880-pp.o) printf 'Source preview c295d96fc57e7cfc898cfcb581d7fe8d14eff099\n' > validation.txt for object in "${objects[@]}"; do llvm-readelf -h "$out/$base/$object" | grep -E 'Machine:[[:space:]]*AArch64' >> validation.txt (cd "$out"; sha256sum "$base/$object") >> validation.txt done llvm-nm "$out/$base/camss-vfe-780.o" > object.symbols grep -E ' [DrR] vfe_ops_780$| U vfe_880_setup_pixel_pipe$' object.symbols >> validation.txt test "$(grep -Ec ' [DrR] vfe_ops_780$| U vfe_880_setup_pixel_pipe$' object.symbols)" = 2 printf 'Lens source fa5480cf9f0e52faf54d80eab8810025d305296b1f350d695e3c06c7d8c03200\n' >> validation.txt lens=drivers/media/i2c/uke-cn3927v.o llvm-readelf -h "$out/$lens" | grep -E 'Machine:[[:space:]]*AArch64' >> validation.txt (cd "$out"; sha256sum "$lens") >> validation.txt llvm-nm "$out/$lens" > lens.symbols grep -E ' U (nvmem_cell_read|regulator_enable|__devm_regmap_init_i2c)$' lens.symbols >> validation.txt test "$(grep -Ec ' U (nvmem_cell_read|regulator_enable|__devm_regmap_init_i2c)$' lens.symbols)" = 3 printf 'Scope: ARM64 source and object qualification for the IFE860 preview.\n' >> validation.txt %install install -Dm644 validation.txt "%{buildroot}%{_datadir}/doc/%{name}/validation.txt" %files %{_datadir}/doc/%{name}/validation.txt %changelog * Wed Dec 02 2026 Uke Linux Maintainers - 7.3.7-3 - Compile the protected IFE receiver and the calibrated lens source in isolation.