This commit is contained in:
parent
05f41fda8f
commit
9c43916a37
14
bladeRF.spec
14
bladeRF.spec
@ -40,7 +40,6 @@ BuildRequires: help2man
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(libusb-1.0)
|
BuildRequires: pkgconfig(libusb-1.0)
|
||||||
BuildRequires: pkgconfig(udev)
|
BuildRequires: pkgconfig(udev)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The software for bladeRF USB 3.0 Superspeed Software Defined Radio.
|
The software for bladeRF USB 3.0 Superspeed Software Defined Radio.
|
||||||
@ -77,17 +76,16 @@ use of libbladerf.
|
|||||||
%build
|
%build
|
||||||
cd host
|
cd host
|
||||||
%cmake \
|
%cmake \
|
||||||
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
|
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DUDEV_RULES_PATH=%{_udevrulesdir} \
|
||||||
-DUDEV_RULES_PATH=%{_udevrulesdir} \
|
-DBLADERF_GROUP=%{bladerf_group} \
|
||||||
-DBLADERF_GROUP=%{bladerf_group} \
|
|
||||||
%ifnarch %arm ppc ppc64
|
%ifnarch %arm ppc ppc64
|
||||||
-DBUILD_DOCUMENTATION=YES \
|
-DBUILD_DOCUMENTATION=YES \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?use_syslog}
|
%if 0%{?use_syslog}
|
||||||
-DENABLE_LIBBLADERF_SYSLOG=ON \
|
-DENABLE_LIBBLADERF_SYSLOG=ON \
|
||||||
%endif
|
%endif
|
||||||
-DBUILD_DOCUMENTATION=ON
|
-DBUILD_DOCUMENTATION=ON
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user