X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=scripts%2FMakefile;h=67763eeb8a3e7f5b003be3e646439aca99b43881;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=81c913c1ee3f92611523b88787bc2be02802f1fd;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/scripts/Makefile b/scripts/Makefile index 81c913c1e..67763eeb8 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -2,14 +2,21 @@ # scripts contains sources for various helper programs used throughout # the kernel for the build process. # --------------------------------------------------------------------------- -# docproc: Preprocess .tmpl file in order to generate .sgml docs +# kallsyms: Find all symbols in vmlinux +# pnmttologo: Convert pnm files to logo files +# conmakehash: Create chartable # conmakehash: Create arrays for initializing the kernel console tables -host-progs := conmakehash kallsyms pnmtologo bin2c -always := $(host-progs) +hostprogs-$(CONFIG_KALLSYMS) += kallsyms +hostprogs-$(CONFIG_LOGO) += pnmtologo +hostprogs-$(CONFIG_VT) += conmakehash +hostprogs-$(CONFIG_PROM_CONSOLE) += conmakehash +hostprogs-$(CONFIG_IKCONFIG) += bin2c -subdir-$(CONFIG_MODVERSIONS) += genksyms -subdir-y += mod +always := $(hostprogs-y) + +subdir-$(CONFIG_MODVERSIONS) += genksyms +subdir-$(CONFIG_MODULES) += mod # Let clean descend into subdirs subdir- += basic lxdialog kconfig package