From 7857c19b34c18f47c4d403c60a4e6c2744512a90 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 16 Jan 2017 07:28:11 +0000 Subject: [PATCH] Build gpio tools --- kernel.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/kernel.spec b/kernel.spec index e3480eefd..1aec1e191 100644 --- a/kernel.spec +++ b/kernel.spec @@ -811,7 +811,7 @@ This package provides debug information for package kernel-tools. # symlinks because of the trailing nonmatching alternation and # the leading .*, because of find-debuginfo.sh's buggy handling # of matching the pattern against the symlinks file. -%{expand:%%global debuginfo_args %{?debuginfo_args} -p '.*%%{_bindir}/centrino-decode(\.debug)?|.*%%{_bindir}/powernow-k8-decode(\.debug)?|.*%%{_bindir}/cpupower(\.debug)?|.*%%{_libdir}/libcpupower.*|.*%%{_bindir}/turbostat(\.debug)?|.*%%{_bindir}/x86_energy_perf_policy(\.debug)?|.*%%{_bindir}/tmon(\.debug)?|.*%%{_bindir}/iio_event_monitor(\.debug)?|.*%%{_bindir}/iio_generic_buffer(\.debug)?|.*%%{_bindir}/lsiio(\.debug)?|XXX' -o kernel-tools-debuginfo.list} +%{expand:%%global debuginfo_args %{?debuginfo_args} -p '.*%%{_bindir}/centrino-decode(\.debug)?|.*%%{_bindir}/powernow-k8-decode(\.debug)?|.*%%{_bindir}/cpupower(\.debug)?|.*%%{_libdir}/libcpupower.*|.*%%{_bindir}/turbostat(\.debug)?|.*%%{_bindir}/x86_energy_perf_policy(\.debug)?|.*%%{_bindir}/tmon(\.debug)?|.*%%{_bindir}/lsgpio(\.debug)?|.*%%{_bindir}/gpio-hammer(\.debug)?|.*%%{_bindir}/gpio-event-mon(\.debug)?|.*%%{_bindir}/iio_event_monitor(\.debug)?|.*%%{_bindir}/iio_generic_buffer(\.debug)?|.*%%{_bindir}/lsiio(\.debug)?|XXX' -o kernel-tools-debuginfo.list} %endif # with_tools @@ -1715,6 +1715,9 @@ popd pushd tools/iio/ %{make} popd +pushd tools/gpio/ +%{make} +popd %endif # In the modsign case, we do 3 things. 1) We check the "flavour" and hard @@ -1885,6 +1888,9 @@ popd pushd tools/iio make INSTALL_ROOT=%{buildroot} install popd +pushd tools/gpio +make DESTDIR=%{buildroot} install +popd %endif %if %{with_bootwrapper} @@ -2079,6 +2085,9 @@ fi %{_bindir}/iio_event_monitor %{_bindir}/iio_generic_buffer %{_bindir}/lsiio +%{_bindir}/lsgpio +%{_bindir}/gpio-hammer +%{_bindir}/gpio-event-mon %endif %if %{with_debuginfo} @@ -2176,6 +2185,7 @@ fi * Mon Jan 16 2017 Peter Robinson - Minor updates for Raspberry Pi 3 support - Re-enable /sys/class/gpio/ +- Build gpio tools * Thu Jan 12 2017 Laura Abbott - 4.9.3-200 - Linux v4.9.3