2.5.15 laziness in export-objs

From: Keith Owens (kaos@ocs.com.au)
Date: Thu May 09 2002 - 21:42:51 EST


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:13 EST