+++ /dev/null
-Name: u-boot-rpi3-32b
-Version: 2022.10
-Release: 0
-Summary: Das U-Boot - Tizen bootloader
-Group: System/Kernel
-License: GPL-2.0+
-ExclusiveArch: %{arm}
-URL: https://source.denx.de/u-boot/u-boot.git
-Source0: u-boot-%{version}.tar.bz2
-Source1001: u_boot_rpi3.manifest
-
-BuildRequires: gcc >= 6.0
-BuildRequires: bc
-BuildRequires: flex
-BuildRequires: bison
-BuildRequires: libopenssl1.1-devel
-
-%description
-u-boot - Tizen bootloader for RPI3 boards based
-
-%prep
-%setup -q -n u-boot-%{version}
-
-%build
-%{?asan:/usr/bin/gcc-unforce-options}
-cp %{SOURCE1001} .
-
-CONFIG=tizen_rpi_3_32b_defconfig
-
-make mrproper
-
-# Set configuration
-make $CONFIG
-
-# Build tools
-make %{?_smp_mflags} HOSTCC="gcc $RPM_OPT_FLAGS" HOSTSTRIP=/bin/true tools
-
-make HOSTCC="gcc $RPM_OPT_FLAGS" envtools
-
-# Build u-boot
-export PATH="$PATH:tools"
-make %{?_smp_mflags} EXTRAVERSION=`echo %{vcs} | sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/'`
-
-# Generate uboot.env
-./scripts/get_default_envs.sh > default_envs.txt
-mkenvimage -s 16384 -o uboot.env default_envs.txt
-rm default_envs.txt
-
-# Build boot.scr
-mkimage -A arm -T script -C none -n "Tizen RPI3 u-boot helper" -d ./tizen/bootscript/tizen-boot-rpi3.scr ./boot.scr.uimg
-
-%install
-rm -rf %{buildroot}
-
-# u-boot installation
-mkdir -p %{buildroot}/boot
-install -m 755 u-boot.bin %{buildroot}/boot/
-install -m 755 uboot.env %{buildroot}/boot/
-install -m 755 boot.scr.uimg %{buildroot}/boot/
-
-%clean
-
-%files
-%manifest u_boot_rpi3.manifest
-%defattr(-,root,root,-)
-/boot/u-boot.bin
-/boot/uboot.env
-/boot/boot.scr.uimg
+++ /dev/null
-Name: u-boot-rpi3
-Version: 2022.10
-Release: 0
-Summary: Das U-Boot - Tizen bootloader
-Group: System/Kernel
-License: GPL-2.0+
-ExclusiveArch: aarch64
-URL: https://source.denx.de/u-boot/u-boot.git
-Source0: u-boot-%{version}.tar.bz2
-Source1001: u_boot_rpi3.manifest
-
-BuildRequires: gcc >= 6.0
-BuildRequires: bc
-BuildRequires: flex
-BuildRequires: bison
-BuildRequires: libopenssl1.1-devel
-
-%description
-u-boot - Tizen bootloader for RPI3 boards based
-
-%prep
-%setup -q -n u-boot-%{version}
-
-%build
-%{?asan:/usr/bin/gcc-unforce-options}
-cp %{SOURCE1001} .
-
-CONFIG=tizen_rpi_3_defconfig
-
-make mrproper
-
-# Set configuration
-make $CONFIG
-
-# Build tools
-make %{?_smp_mflags} HOSTCC="gcc $RPM_OPT_FLAGS" HOSTSTRIP=/bin/true tools
-
-make HOSTCC="gcc $RPM_OPT_FLAGS" envtools
-
-# Build u-boot
-export PATH="$PATH:tools"
-make %{?_smp_mflags} EXTRAVERSION=`echo %{vcs} | sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/'`
-
-# Generate params.bin
-./scripts/get_default_envs.sh > default_envs.txt
-mkenvimage -s 16384 -o uboot.env default_envs.txt
-rm default_envs.txt
-
-# Build boot.scr
-mkimage -A arm64 -T script -C none -n "Tizen RPI3 u-boot helper" -d ./tizen/bootscript/tizen-boot-rpi3.scr ./boot.scr.uimg
-
-%install
-rm -rf %{buildroot}
-
-# u-boot installation
-mkdir -p %{buildroot}/boot
-install -m 755 u-boot.bin %{buildroot}/boot/
-install -m 755 uboot.env %{buildroot}/boot/
-install -m 755 boot.scr.uimg %{buildroot}/boot/
-
-%clean
-
-%files
-%manifest u_boot_rpi3.manifest
-%defattr(-,root,root,-)
-/boot/u-boot.bin
-/boot/uboot.env
-/boot/boot.scr.uimg