forked from pool/u-boot
Accepting request 1057445 from hardware:boot
- Add orangepizero2 flavor OBS-URL: https://build.opensuse.org/request/show/1057445 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=167
This commit is contained in:
commit
8d44c0a64d
@ -60,6 +60,7 @@
|
|||||||
<flavor>orangepipc</flavor>
|
<flavor>orangepipc</flavor>
|
||||||
<flavor>orangepipc2</flavor>
|
<flavor>orangepipc2</flavor>
|
||||||
<flavor>orangepizero</flavor>
|
<flavor>orangepizero</flavor>
|
||||||
|
<flavor>orangepizero2</flavor>
|
||||||
<flavor>p2371-2180</flavor>
|
<flavor>p2371-2180</flavor>
|
||||||
<flavor>p2771-0000-500</flavor>
|
<flavor>p2771-0000-500</flavor>
|
||||||
<flavor>p3450-0000</flavor>
|
<flavor>p3450-0000</flavor>
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 10 09:07:47 UTC 2023 - Oscar Curero <oscar@naiandei.net>
|
||||||
|
|
||||||
|
- Add orangepizero2 flavor
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 4 11:42:07 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Tue Oct 4 11:42:07 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
14
u-boot.spec
14
u-boot.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package u-boot
|
# spec file for package u-boot
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
|
# Copyright (c) 2010 Texas Instruments Inc by Nishanth Menon
|
||||||
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
# Copyright (c) 2007-2010 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
#
|
#
|
||||||
@ -108,6 +108,11 @@
|
|||||||
%define is_a64 1
|
%define is_a64 1
|
||||||
%define sunxi_spl 1
|
%define sunxi_spl 1
|
||||||
%endif
|
%endif
|
||||||
|
%if "%target" == "orangepizero2"
|
||||||
|
%define is_h616 1
|
||||||
|
%define is_armv8 1
|
||||||
|
%define sunxi_spl 1
|
||||||
|
%endif
|
||||||
%if "%target" == "bananapi" || "%target" == "cubieboard" || "%target" == "cubieboard2" || "%target" == "cubietruck" || "%target" == "melea1000" || "%target" == "a10-olinuxino-lime" || "%target" == "a13-olinuxino" || "%target" == "a13-olinuxinom" || "%target" == "a20-olinuxino-lime" || "%target" == "a20-olinuxino-lime2" || "%target" == "a20-olinuxinomicro" || "%target" == "nanopineo" || "%target" == "orangepipc" || "%target" == "hyundaia7hd" || "%target" == "lamobor1" || "%target" == "bananapim2plush3" || "%target" == "bananapim2zero" || "%target" == "orangepizero"
|
%if "%target" == "bananapi" || "%target" == "cubieboard" || "%target" == "cubieboard2" || "%target" == "cubietruck" || "%target" == "melea1000" || "%target" == "a10-olinuxino-lime" || "%target" == "a13-olinuxino" || "%target" == "a13-olinuxinom" || "%target" == "a20-olinuxino-lime" || "%target" == "a20-olinuxino-lime2" || "%target" == "a20-olinuxinomicro" || "%target" == "nanopineo" || "%target" == "orangepipc" || "%target" == "hyundaia7hd" || "%target" == "lamobor1" || "%target" == "bananapim2plush3" || "%target" == "bananapim2zero" || "%target" == "orangepizero"
|
||||||
%define is_armv7 1
|
%define is_armv7 1
|
||||||
%define binext .img
|
%define binext .img
|
||||||
@ -296,6 +301,9 @@ BuildRequires: arm-trusted-firmware-sun50i_a64
|
|||||||
%if 0%{?is_h6}
|
%if 0%{?is_h6}
|
||||||
BuildRequires: arm-trusted-firmware-sun50i_h6
|
BuildRequires: arm-trusted-firmware-sun50i_h6
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?is_h616}
|
||||||
|
BuildRequires: arm-trusted-firmware-sun50i_h616
|
||||||
|
%endif
|
||||||
%if "%target" == "tools" || "%target" == "avnetultra96rev1" || "%target" == "clearfog" || "%target" == "mvebudb-88f3720" || "%target" == "mvebudbarmada8k" || "%target" == "mvebudbarmada8k3" || "%target" == "mvebuespressobin-88f3720" || "%target" == "mvebumcbin-88f8040" || "%target" == "turrisomnia"
|
%if "%target" == "tools" || "%target" == "avnetultra96rev1" || "%target" == "clearfog" || "%target" == "mvebudb-88f3720" || "%target" == "mvebudbarmada8k" || "%target" == "mvebudbarmada8k3" || "%target" == "mvebuespressobin-88f3720" || "%target" == "mvebumcbin-88f8040" || "%target" == "turrisomnia"
|
||||||
# Fixes ld: cannot find -ltinfo: No such file or directory
|
# Fixes ld: cannot find -ltinfo: No such file or directory
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
@ -396,6 +404,10 @@ export SCP=/dev/null
|
|||||||
export BL31=%{_datadir}/arm-trusted-firmware-sun50i_h6/bl31.bin
|
export BL31=%{_datadir}/arm-trusted-firmware-sun50i_h6/bl31.bin
|
||||||
export SCP=/dev/null
|
export SCP=/dev/null
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?is_h616}
|
||||||
|
export BL31=%{_datadir}/arm-trusted-firmware-sun50i_h616/bl31.bin
|
||||||
|
export SCP=/dev/null
|
||||||
|
%endif
|
||||||
%if "%{name}" == "u-boot-sifiveunleashed" || "%{name}" == "u-boot-sifiveunmatched"
|
%if "%{name}" == "u-boot-sifiveunleashed" || "%{name}" == "u-boot-sifiveunmatched"
|
||||||
export OPENSBI=%{_datadir}/opensbi/opensbi.bin
|
export OPENSBI=%{_datadir}/opensbi/opensbi.bin
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user