Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2018-11-05 18:22:18 +0100
committerMichal Kubecek <mkubecek@suse.cz>2018-11-05 18:26:48 +0100
commit09d14c80935854f0bcc8f1aff5ad60503defcaaa (patch)
treec492b249024f96ae37b7041f4c52ed8f962e40bd
parent4d9c3fb599ce8a4072aea58b2cb019d89c482cd6 (diff)
rpm/kernel-binary.spec.in: add macros.s into kernel-*-devel
Starting with 4.20-rc1, file arch/*/kernel/macros.s is needed to build out of tree modules. Add it to kernel-${flavor}-devel packages if it exists.
-rw-r--r--rpm/kernel-binary.spec.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in
index 4f445e5009..2424867542 100644
--- a/rpm/kernel-binary.spec.in
+++ b/rpm/kernel-binary.spec.in
@@ -771,7 +771,7 @@ if [ %CONFIG_MODULES = y ]; then
fi
# These files are required for building external modules
- for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o; do
+ for FILE in arch/powerpc/lib/crtsavres.o arch/arm64/kernel/ftrace-mod.o arch/*/kernel/macros.s; do
if [ -f %kernel_build_dir/$FILE ]; then
echo $FILE >> %my_builddir/obj-files
fi