mirror of
https://abf.rosa.ru/djam/u-boot-tools.git
synced 2025-02-23 06:02:49 +00:00
Add .gitignore and .gitea/workflows/ci.yml
Some checks failed
Run CI/CD... / main (push) Failing after 1m24s
Some checks failed
Run CI/CD... / main (push) Failing after 1m24s
This commit is contained in:
parent
f9f91935c1
commit
b5e4c58775
2 changed files with 22 additions and 1 deletions
|
@ -13,4 +13,5 @@ jobs:
|
|||
with:
|
||||
CI_DEPLOY: ${{ secrets.CI_DEPLOY }}
|
||||
PUBLICATOR: ${{ secrets.PUBLICATOR }}
|
||||
REPO_DEPLOY: ${{ secrets.REPO_DEPLOY }}
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
%define debug_package %nil
|
||||
%global optflags %(echo %{optflags} | sed -e 's/-ffat-lto-objects//g' -e 's/-fvar-tracking-assignments//g')
|
||||
|
||||
Name: u-boot-tools
|
||||
Version: 2024.04
|
||||
|
@ -13,6 +14,15 @@ BuildRequires: dtc
|
|||
BuildRequires: openssl-devel
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: pkgconfig(python3)
|
||||
BuildRequires: python38-devel
|
||||
BuildRequires: python3egg(setuptools)
|
||||
BuildRequires: python38-setuptools
|
||||
BuildRequires: openssl1.1
|
||||
BuildRequires: openssl1.1-devel
|
||||
BuildRequires: %{_lib}tinfo5
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: llvm17
|
||||
Provides: uboot-mkimage
|
||||
|
||||
%description
|
||||
|
@ -24,10 +34,20 @@ mkimage a tool that creates kernel bootable images for u-boot.
|
|||
%prep
|
||||
%setup -q -n u-boot-%{version}
|
||||
|
||||
sed -i 's/tinfo/ncursesw/g' tools/Makefile
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
export PYTHONPATH=%{python38_sitelib}
|
||||
export PYTHON3=/usr/libexec/python3.8
|
||||
export PYTHON=/usr/libexec/python3.8
|
||||
|
||||
#export PATH=/opt/openssl1.1/include/openssl/:/opt/openssl1.1/lib/:$PATH
|
||||
|
||||
make defconfig
|
||||
sed -i -e "s:-g ::" tools/Makefile || die
|
||||
%make HOSTCC=%{__cc} HOSTSTRIP=%{__strip} USE_PRIVATE_LIBGG=yes tools-all
|
||||
%make u-boot
|
||||
#make HOSTCC=%{__cc} HOSTSTRIP=%{__strip} USE_PRIVATE_LIBGG=yes tools-all PYTHON3=/usr/libexec/python3.8
|
||||
|
||||
%install
|
||||
install -D -m 0755 tools/mkimage %{buildroot}%{_bindir}/mkimage
|
||||
|
|
Loading…
Add table
Reference in a new issue