From 6802d702761dfdd910e37da40ba95fa71fd06dd7 Mon Sep 17 00:00:00 2001 From: Kai Germaschewski Date: Wed, 4 Dec 2002 01:17:02 -0600 Subject: kbuild: Speed up kallsyms generation This patch basically just replaces the scripts/kallsyms script by a scripts/kallsyms.c C program, which does the same thing much faster. It also removes duplicates and entries which are not between _stext and _etext, as they would not get used anyway. This saves about 290KB in vmlinux with my .config, more than 50% of the kallsyms bloat ;) --- scripts/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'scripts/Makefile') diff --git a/scripts/Makefile b/scripts/Makefile index 25979b0efdb3..7301b039f96e 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -8,12 +8,11 @@ # docproc: Preprocess .tmpl file in order to generate .sgml documentation # conmakehash: Create arrays for initializing the kernel console tables -host-progs := fixdep split-include conmakehash docproc +host-progs := fixdep split-include conmakehash docproc kallsyms build-targets := $(host-progs) # Let clean descend into subdirs subdir- := lxdialog kconfig # fixdep is needed to compile other host programs -$(obj)/split-include $(obj)/docproc \ -$(obj)/conmakehash: $(obj)/fixdep +$(obj)/split-include $(obj)/docproc $(obj)/conmakehash: $(obj)/fixdep -- cgit v1.2.3