Messages in this thread | | | From | Keith Owens <> | Subject | 2.5.15 laziness in export-objs | Date | Fri, 10 May 2002 12:42:51 +1000 |
| |
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/
| |