%global debug_package %{nil} Name: uke-u-boot-bringup Version: 2026.10 Release: 2%{?dist} Summary: U-Boot Qualcomm and ARM64 QEMU build references License: GPL-2.0-or-later URL: https://u-boot-project.org/ Source0: https://git.u-boot-project.org/u-boot/u-boot/-/releases/v%{version}/downloads/u-boot-%{version}.tar.bz2 Source1: check-qemu.exp ExclusiveArch: aarch64 BuildRequires: bc BuildRequires: binutils BuildRequires: bison BuildRequires: dtc BuildRequires: expect BuildRequires: flex BuildRequires: gcc BuildRequires: gnutls-devel BuildRequires: libuuid-devel BuildRequires: make BuildRequires: openssl3-devel BuildRequires: openssl3-devel-engine BuildRequires: perl-interpreter BuildRequires: python3-cryptography BuildRequires: python3-devel BuildRequires: python3-libfdt BuildRequires: python3-pyelftools BuildRequires: python3-setuptools BuildRequires: qemu-system-aarch64-core BuildRequires: swig BuildRequires: xxd %description Unmodified upstream build outputs for QEMU virt and the generic Snapdragon target. These development references require a separate board port and Android image wrapper before any Uke device test. %prep printf '%%s %%s\n' 3f856da3cbbc93af51ff95fde18588a348b4a26723b01d9841e999d988481015 '%{SOURCE0}' | sha256sum -c - %autosetup -n u-boot-v%{version} %build export SOURCE_DATE_EPOCH=1791236133 export KBUILD_BUILD_USER=builder KBUILD_BUILD_HOST=copr for board in qemu_arm64 qcom; do make O="out/$board" CROSS_COMPILE= "${board}_defconfig" %make_build O="out/$board" CROSS_COMPILE= done %install root=%{buildroot}%{_datadir}/%{name} install -Dpm0644 out/qemu_arm64/u-boot.bin "$root/qemu-arm64/u-boot.bin" install -Dpm0644 out/qemu_arm64/.config "$root/qemu-arm64/config" install -Dpm0644 out/qcom/u-boot-nodtb.bin "$root/qualcomm/u-boot-nodtb.bin" install -Dpm0644 out/qcom/.config "$root/qualcomm/config" %check export LC_ALL=C for board in qemu_arm64 qcom; do readelf -h "out/$board/u-boot" | grep -E 'Machine:[[:space:]]+AArch64$' done test -s out/qcom/u-boot-nodtb.bin expect -f '%{SOURCE1}' out/qemu_arm64/u-boot.bin '%{version}' | tee '%{buildroot}%{_datadir}/%{name}/qemu-arm64/serial-check.log' grep -Fx 'QEMU ARM64 EFI variable test passed' '%{buildroot}%{_datadir}/%{name}/qemu-arm64/serial-check.log' %files %license Licenses/gpl-2.0.txt %{_datadir}/%{name}/ %changelog * Sun Nov 22 2026 Uke Linux maintainers - 2026.10-2 - Link build-host FIT tools against the Fedora OpenSSL 3 ENGINE provider. * Sun Nov 22 2026 Uke Linux maintainers - 2026.10-1 - Build upstream Qualcomm and ARM64 QEMU reference images.