File gnuprumcu.spec of Package gnuprumcu
Name: gnuprumcu
Summary: Device specs and I/O headers for PRU MCU variants
Group: Development/Tools/Buiding
License: BSD-2-Clause
Version: 0.9.1
Release: 1%{?dist}
BuildRequires: make cross-pru-gcc11 cross-pru-binutils cross-pru-newlib-devel
URL: https://github.com/dinuxbg/gnuprumcu
BuildArch: noarch
Source0: gnuprumcu-0.9.1.tar.gz
%description
This package contains the 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 --host=pru
%make_build
%install
%make_install
%files
/usr/pru/lib/device-specs/*pru*
%dir /usr/pru/include/pru
/usr/pru/include/pru/am335x.h
/usr/pru/include/pru/am572x.h
/usr/pru/include/pru/io.h
/usr/pru/include/pru/tda4vm.h