1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
%define allowed_arch armh aarch64 %ix86 x86_64 mips mipsel mips64 mips64el riscv32 riscv64 ppc64 Name: u-boot-qemu Version: 2020.07 Release: alt1 Summary: Das U-Boot License: GPLv2+ Group: System/Kernel and hardware ExclusiveArch: %allowed_arch Source: %name-%version-%release.tar BuildRequires: dtc >= 1.4 flex libssl-devel python3-dev swig %description boot loader for embedded boards based on PowerPC, ARM, MIPS and several other processors, which can be installed in a boot ROM and used to initialize and test the hardware or to download and run application code. This package contains U-Boot image for QEMU virt machine. %ifarch armh %define qemu qemu_arm %endif %ifarch aarch64 %define qemu qemu_arm64 %endif %ifarch %ix86 %define qemu qemu-x86 %endif %ifarch x86_64 %define qemu qemu-x86_64 %endif %ifarch mips %define qemu qemu_mips %endif %ifarch mipsel %define qemu qemu_mipsel %endif %ifarch mips64 %define qemu qemu_mips64 %endif %ifarch mips64el %define qemu qemu_mips64el %endif %ifarch mips %define qemu qemu_mips %endif %ifarch ppc64 %define qemu qemu-ppce500 %endif %ifarch riscv32 %define qemu qemu-riscv32 %endif %ifarch riscv64 %define qemu qemu-riscv64 %endif %prep %setup %build %make_build %{qemu}_defconfig all %install install -pm0644 -D u-boot.bin %buildroot%_datadir/u-boot/%qemu/u-boot.bin %files %doc README %_datadir/u-boot/* %changelog * Fri Jul 10 2020 Sergey Bolshakov <sbolshakov@altlinux.ru> 2020.07-alt1 - 2020.07 released * Tue Apr 14 2020 Sergey Bolshakov <sbolshakov@altlinux.ru> 2020.04-alt1 - 2020.04 released * Thu Jan 09 2020 Sergey Bolshakov <sbolshakov@altlinux.ru> 2020.01-alt1 - 2020.01 released * Tue Oct 08 2019 Sergey Bolshakov <sbolshakov@altlinux.ru> 2019.10-alt1 - 2019.10 released * Fri Jul 19 2019 Sergey Bolshakov <sbolshakov@altlinux.ru> 2019.07-alt1 - 2019.07 released * Tue May 07 2019 Anton Midyukov <antohami@altlinux.org> 2019.04-alt2 - Build for allowed Arch * Tue Apr 30 2019 Sergey Bolshakov <sbolshakov@altlinux.ru> 2019.04-alt1 - initial