Accepting request 998449 from home:matwey:pru
This is additional package for cross-pru-gcc containing device-specs and includes for real existing device with PRU architecture. The package is quite useful since cross-pru-gcc provides device-spec only for simulator. OBS-URL: https://build.opensuse.org/request/show/998449 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gnuprumcu?expand=0&rev=1
This commit is contained in:
commit
5a30a36f0e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
3
gnuprumcu-0.8.0.tar.gz
Normal file
3
gnuprumcu-0.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95363eb4cfd78797431e8de3858a087c9d6f0204239b159c27675b38e008d143
|
||||
size 121616
|
4
gnuprumcu.changes
Normal file
4
gnuprumcu.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 21 07:45:44 UTC 2022 - Matwey Kornilov <matwey.kornilov@gmail.com>
|
||||
|
||||
- Initial version
|
60
gnuprumcu.spec
Normal file
60
gnuprumcu.spec
Normal file
@ -0,0 +1,60 @@
|
||||
#
|
||||
# spec file for package gnuprumcu-devel
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: gnuprumcu-devel
|
||||
Version: 0.8.0
|
||||
Release: 0
|
||||
Summary: Linker scripts and device specs for PRU MCU variants
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/dinuxbg/gnuprumcu
|
||||
Source: https://github.com/dinuxbg/gnuprumcu/releases/download/v%{version}/gnuprumcu-%{version}.tar.gz
|
||||
BuildRequires: cross-pru-binutils >= 2.37
|
||||
BuildRequires: cross-pru-gcc%{gcc_version}
|
||||
BuildRequires: cross-pru-newlib-devel
|
||||
BuildRequires: fdupes
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
This package contains the linker scripts, device specs and I/O headers for the
|
||||
different PRU variants in different TI SoCs. Install this package to allow the
|
||||
"-mmcu=" GCC compiler option to pick the correct settings for your board.
|
||||
|
||||
%prep
|
||||
%setup -q -n gnuprumcu-%{version}
|
||||
|
||||
%build
|
||||
./configure --prefix=%{_prefix} --host=pru
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc README.md AUTHORS
|
||||
%dir %{_prefix}/pru
|
||||
%dir %{_prefix}/pru/include
|
||||
%dir %{_prefix}/pru/include/pru
|
||||
%{_prefix}/pru/include/pru/*
|
||||
%dir %{_prefix}/pru/lib
|
||||
%dir %{_prefix}/pru/lib/device-specs
|
||||
%{_prefix}/pru/lib/device-specs/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user