# SPDX-License-Identifier: GPL-2.0 ### # 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 HOST_EXTRACFLAGS += -I$(srctree)/tools/include hostprogs-$([31mCONFIG_BUILD_BIN2C[0m) += bin2c 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_FORMAT[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 HOSTLDLIBS_sign-file = -lcrypto HOSTLDLIBS_extract-cert = -lcrypto always := $(hostprogs-y) $(hostprogs-m) # The following hostprogs-y programs are only build on demand hostprogs-y += unifdef subdir-$([31mCONFIG_GCC_PLUGINS[0m) += gcc-plugins subdir-$([31mCONFIG_MODVERSIONS[0m) += genksyms subdir-$([31mCONFIG_SECURITY_SELINUX[0m) += selinux # Let clean descend into subdirs subdir- += basic dtc gdb kconfig mod |