Home Home > GIT Browse > stable
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2018-05-16 12:11:17 +0200
committerMichal Suchanek <msuchanek@suse.de>2018-05-16 12:11:17 +0200
commit01a659f99647df53b586d2ddc16726f253d14ab2 (patch)
treea89469d8f31cb4e0bd1fedffb9edf8d4e3850f4f
parenta52c3cbca53ac68f12ea4c26a32b8b69c51a2541 (diff)
parent8631d056476f08b26296c6afa8f3be3d4ec95f6a (diff)
-rw-r--r--rpm/macros.kernel-source2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/macros.kernel-source b/rpm/macros.kernel-source
index e4b799c15b..53af0831c3 100644
--- a/rpm/macros.kernel-source
+++ b/rpm/macros.kernel-source
@@ -16,7 +16,7 @@
(*) \
[ -z "%{-X}" -a -n "$flavors" ] && continue ;; \
esac \
- krel=$(make -si -C /usr/src/linux-obj/x86_64/default/ kernelrelease 2>/dev/null) \
+ krel=$(make -si -C /usr/src/linux-obj/%_target_cpu/$flavor/ kernelrelease 2>/dev/null) \
kver=${krel%%-*} \
flavors_to_build="$flavors_to_build $flavor" \
echo "%%_suse_kernel_module_subpackage -n %{-n*}%{!-n:%name} -v %{-v*}%{!-v:%version} -r %{-r*}%{!-r:%release} %{-f} %{-p} %{-b} %{-c:-c} $flavor $kver" \