clarify when to go the run-command way

This commit is contained in:
Pratham Patel 2023-10-01 08:05:04 +05:30
parent 277eaf30a6
commit 43374880c5
No known key found for this signature in database

View File

@ -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}
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}'
%else
touch $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}/MAYBE_THIS_WORKS