public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.15 laziness in export-objs
@ 2002-05-10  2:42 Keith Owens
  2002-05-10  2:42 ` Greg KH
  2002-05-10 16:25 ` Patrick Mochel
  0 siblings, 2 replies; 4+ messages in thread
From: Keith Owens @ 2002-05-10  2:42 UTC (permalink / raw)
  To: linux-kernel

2.5.15 has four Makefiles where all objects are marked as exporting
symbols.  This is lazy coding and causes spurious rebuilds.  Please
specify only those objects that really export symbols.

Also the export list is independent of whether an object is selected or
not.  That is, export-objs is unconditional.

fs/nls/Makefile:export-objs = $(obj-y)
arch/i386/pci/Makefile:export-objs     +=      $(obj-y)
drivers/base/Makefile:export-objs     := $(obj-y)
drivers/pci/Makefile:export-objs := $(obj-y)

cd directory
echo $(fgrep -l EXPORT_SYMBOL *.c | tr '\n' ' ' | sed -e '{s/^/export-objs := /; s/\.c/.o/g; }')
will get the correct list.  arch/i386/pci/Makefile exports nothing at all.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-05-10 16:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10  2:42 2.5.15 laziness in export-objs Keith Owens
2002-05-10  2:42 ` Greg KH
2002-05-10  4:03   ` Keith Owens
2002-05-10 16:25 ` Patrick Mochel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox