make modules_prepare doesn't build arch/powerpc/lib/crtsavres.o
Luis Ressel
aranea at aixah.de
Thu Feb 21 08:33:39 AEDT 2019
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20190220/89258853/attachment.sig>
More information about the Linuxppc-dev
mailing list