From 46bd1da672d66ccd8a639d3c1f8a166048cca608 Mon Sep 17 00:00:00 2001 From: Kai Germaschewski Date: Wed, 19 Feb 2003 04:17:28 -0600 Subject: kbuild: [PATCH] put genksyms in scripts dir This puts genksyms into scripts/genksyms/. genksyms used to be maintained externally, though the only possible user was the kernel build. Moving it into the kernel sources makes it easier to keep it uptodate, like for example updating it to generate linker scripts directly instead of postprocessing the generated header file fragments with sed, as we do currently. Also, genksyms does not handle __typeof__, which needs to be fixed since some of the exported symbol in the kernel are defined using __typeof__. (Rusty Russell/me) --- scripts/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/Makefile') diff --git a/scripts/Makefile b/scripts/Makefile index 287694dddf69..3b00318d0bc6 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -14,11 +14,13 @@ build-targets := $(host-progs) empty.o modpost-objs := modpost.o file2alias.o +subdir-$(CONFIG_MODVERSIONS) += genksyms + # Let clean descend into subdirs -subdir- := lxdialog kconfig +subdir- += lxdialog kconfig # fixdep is needed to compile other host programs -$(addprefix $(obj)/,$(filter-out fixdep,$(build-targets))): $(obj)/fixdep +$(addprefix $(obj)/,$(filter-out fixdep,$(build-targets)) $(subdir-y)): $(obj)/fixdep # dependencies on generated files need to be listed explicitly -- cgit v1.2.3