clarify when to go the run-command way
This commit is contained in:
parent
277eaf30a6
commit
43374880c5
@ -141,7 +141,7 @@ ln -fns /usr/src/kernels/%{KVERREL} $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/sourc
|
|||||||
|
|
||||||
# install actual Linux src to /usr/src/kernels/%{KVERREL}
|
# install actual Linux src to /usr/src/kernels/%{KVERREL}
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}
|
mkdir -p $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}
|
||||||
%if %{minor_ver} > 5
|
%if %{major_ver} > 6 && %{minor_ver} > 5
|
||||||
%{make} run-command KBUILD_RUN_COMMAND='${RPM_BUILD_DIR}/%{src_dir}/scripts/package/install-extmod-build $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}'
|
%{make} run-command KBUILD_RUN_COMMAND='${RPM_BUILD_DIR}/%{src_dir}/scripts/package/install-extmod-build $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}'
|
||||||
%else
|
%else
|
||||||
touch $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}/MAYBE_THIS_WORKS
|
touch $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}/MAYBE_THIS_WORKS
|
||||||
|
Loading…
Reference in New Issue
Block a user