forked from pool/pcfclock
Accepting request 617732 from home:michals:kernel-test-kmp
- Use %{?linux_make_arch} when building kernel modules (boo#1098050). OBS-URL: https://build.opensuse.org/request/show/617732 OBS-URL: https://build.opensuse.org/package/show/network:time/pcfclock?expand=0&rev=12
This commit is contained in:
parent
cd69563a2a
commit
f4c9972532
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 19 12:11:47 UTC 2018 - msuchanek@suse.com
|
||||
|
||||
- Use %{?linux_make_arch} when building kernel modules (boo#1098050).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 12:05:55 CET 2017 - ro@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package pcfclock
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,7 +20,7 @@ Name: pcfclock
|
||||
Version: 0.44
|
||||
Release: 0
|
||||
Summary: Pcfclock kernel driver
|
||||
License: GPL-2.0+
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/Kernel
|
||||
Url: http://www-stud.ims.uni-stuttgart.de/~voegelas/pcf.html
|
||||
Source: pcfclock-%{version}.tar.gz
|
||||
@ -85,7 +85,7 @@ make %{?_smp_mflags}
|
||||
for flavor in %flavors_to_build; do
|
||||
rm -rf obj/$flavor
|
||||
cp -r source obj/$flavor
|
||||
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules \
|
||||
make -C /usr/src/linux-obj/%_target_cpu/$flavor %{?linux_make_arch} modules \
|
||||
M=$PWD/obj/$flavor %{?_smp_mflags}
|
||||
done
|
||||
|
||||
@ -97,7 +97,7 @@ make -C linux install DESTDIR=%{buildroot}
|
||||
export INSTALL_MOD_PATH=%{buildroot}
|
||||
export INSTALL_MOD_DIR=updates
|
||||
for flavor in %flavors_to_build; do
|
||||
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules_install \
|
||||
make -C /usr/src/linux-obj/%_target_cpu/$flavor %{?linux_make_arch} modules_install \
|
||||
M=$PWD/obj/$flavor
|
||||
done
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/modprobe.d
|
||||
|
Loading…
Reference in New Issue
Block a user