1
0
forked from pool/virtualbox

Accepting request 617657 from home:michals:kernel-test-kmp

- Use %{?linux_make_arch} when building kernel modules (boo#1098050).

OBS-URL: https://build.opensuse.org/request/show/617657
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=431
This commit is contained in:
Larry Finger 2018-06-19 12:44:58 +00:00 committed by Git OBS Bridge
parent 579bf261dc
commit daf1117235
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 19 07:43:42 UTC 2018 - msuchanek@suse.com
- Use %{?linux_make_arch} when building kernel modules (boo#1098050).
-------------------------------------------------------------------
Sat May 26 21:24:55 UTC 2018 - Larry.Finger@gmail.com

View File

@ -525,7 +525,7 @@ for vbox_module in out/linux.*/release/bin/src/vbox{drv,netflt,netadp,pci} \
$PWD/modules_build_dir/$flavor/$module_name
fi
# build the module for the specific flavor
make -j2 -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor modules \
make -j2 -C %{_prefix}/src/linux-obj/%{_target_cpu}/$flavor %{?linux_make_arch} modules \
M=$PWD/modules_build_dir/$flavor/$module_name
done
done