[opensuse-kernel] [PATCH] rpm: include crtsavres.o on ppc
Hi, This hunk lives already in SLE11-SP2, and we need it for master too: Please apply to "master". Ciao, Marcus --- rpm/kernel-binary.spec.in | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/rpm/kernel-binary.spec.in b/rpm/kernel-binary.spec.in index 8aa7d05..5451966 100644 --- a/rpm/kernel-binary.spec.in +++ b/rpm/kernel-binary.spec.in @@ -616,6 +616,12 @@ if [ %CONFIG_MODULES = y ]; then fi fi + # arch/powerpc/lib/crtsavres.o is required for building external + # modules on powerpc + if [ -f %kernel_build_dir/arch/powerpc/lib/crtsavres.o ]; then + echo arch/powerpc/lib/crtsavres.o >> %my_builddir/obj-files + fi + tar -cf - -T %my_builddir/obj-files | \ tar -xf - -C %rpm_install_dir/%cpu_arch_flavor # bnc#507084 -- 1.7.9 -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (1)
-
Marcus Meissner