File apu-ehci.spec of Package apu-ehci
#
# spec file for package apu-ehci
#
# Copyright (c) 2022, Martin Hauke <mardnh@gmx.de>
#
# 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: apu-ehci
Version: 0~git20220124
Release: 0
Summary: Route AMD APU USB ports to EHCI instead of XHCI
License: CC0-1.0
Group: Hardware/Other
URL: https://git.sysmocom.de/sysmocom/apu-ehci
#Git-Clone: https://git.sysmocom.de/sysmocom/apu-ehci.git
Source: %{name}-%{version}.tar.xz
ExclusiveArch: %{ix86} x86_64
%description
The tool will re-configure the USB ports of the APU SoC to route
USB Ports 8+9 (those exposed on the physical USB-A connectors of
the PC-Engines boards) from XHCI to EHCI.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
%make_build
%install
install -Dm 0755 apu-ehci %{buildroot}%{_bindir}/apu-ehci
%files
%license COPYING
%doc README.md
%{_bindir}/apu-ehci
%changelog