linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* make modules_prepare doesn't build arch/powerpc/lib/crtsavres.o
@ 2019-02-20 21:33 Luis Ressel
  0 siblings, 0 replies; only message in thread
From: Luis Ressel @ 2019-02-20 21:33 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

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.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-20 22:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-20 21:33 make modules_prepare doesn't build arch/powerpc/lib/crtsavres.o Luis Ressel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).