2019-02-20 21:39:36

by Mira Ressel

[permalink] [raw]
Subject: make modules_prepare doesn't build arch/powerpc/lib/crtsavres.o

Hello,

as documented in the top-level Makefile, "make modules_prepare" is
supposed to get a pristine kernel tree into a state that's suitable to
build out-of-tree modules. However, this is not the case for the
powerpc arch, since all modules are linked against
arch/powerpc/lib/crtsavres.o on ppc32 (and ppc64 if binutils is too
old).

A similar problem applies to "make clean" -- it is supposed to retain
all files which are neccessary for module building, but the global
"find . -name '*.o' -delete" it performs drops crtsavres.o.

--
Regards,
Luis Ressel

Please CC me when replying; I'm not subscribed to the kernel MLs.


Attachments:
(No filename) (849.00 B)
OpenPGP digital signature