### # scripts contains sources for various helper programs used throughout # the kernel for the build process. # --------------------------------------------------------------------------- # 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 # docproc: Used in Documentation/DocBook # check-lc_ctype: Used in Documentation/DocBook HOST_EXTRACFLAGS += -I$(srctree)/tools/include hostprogs-$([31mCONFIG_KALLSYMS[0m) += kallsyms hostprogs-$([31mCONFIG_LOGO[0m) += pnmtologo hostprogs-$([31mCONFIG_VT[0m) += conmakehash hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount hostprogs-$([31mCONFIG_BUILDTIME_EXTABLE_SORT[0m) += sortextable hostprogs-$([31mCONFIG_ASN1[0m) += asn1_compiler hostprogs-$([31mCONFIG_MODULE_SIG[0m) += sign-file hostprogs-$([31mCONFIG_SYSTEM_TRUSTED_KEYRING[0m) += extract-cert hostprogs-$([31mCONFIG_SYSTEM_EXTRA_CERTIFICATE[0m) += insert-sys-cert HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include HOSTLOADLIBES_sign-file = -lcrypto HOSTLOADLIBES_extract-cert = -lcrypto always := $(hostprogs-y) $(hostprogs-m) # The following hostprogs-y programs are only build on demand hostprogs-y += unifdef docproc check-lc_ctype # These targets are used internally to avoid "is up to date" messages PHONY += build_unifdef build_docproc build_check-lc_ctype build_unifdef: $(obj)/unifdef @: build_docproc: $(obj)/docproc @: build_check-lc_ctype: $(obj)/check-lc_ctype @: subdir-$([31mCONFIG_MODVERSIONS[0m) += genksyms subdir-y += mod subdir-$([31mCONFIG_SECURITY_SELINUX[0m) += selinux subdir-$([31mCONFIG_DTC[0m) += dtc subdir-$([31mCONFIG_GDB_SCRIPTS[0m) += gdb # Let clean descend into subdirs subdir- += basic kconfig package gcc-plugins |