50 lines · 1.8 KB · Makefile
RawDownload
#### 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-$(CONFIG_KALLSYMS)     += kallsymshostprogs-$(CONFIG_LOGO)         += pnmtologohostprogs-$(CONFIG_VT)           += conmakehashhostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcounthostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextablehostprogs-$(CONFIG_ASN1)	 += asn1_compilerhostprogs-$(CONFIG_MODULE_SIG)	 += sign-filehostprogs-$(CONFIG_SYSTEM_TRUSTED_KEYRING) += extract-certhostprogs-$(CONFIG_SYSTEM_EXTRA_CERTIFICATE) += insert-sys-cert HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/includeHOSTCFLAGS_asn1_compiler.o = -I$(srctree)/includeHOSTLOADLIBES_sign-file = -lcryptoHOSTLOADLIBES_extract-cert = -lcrypto always		:= $(hostprogs-y) $(hostprogs-m) # The following hostprogs-y programs are only build on demandhostprogs-y += unifdef docproc check-lc_ctype # These targets are used internally to avoid "is up to date" messagesPHONY += build_unifdef build_docproc build_check-lc_ctypebuild_unifdef: $(obj)/unifdef	@:build_docproc: $(obj)/docproc	@:build_check-lc_ctype: $(obj)/check-lc_ctype	@: subdir-$(CONFIG_MODVERSIONS) += genksymssubdir-y                     += modsubdir-$(CONFIG_SECURITY_SELINUX) += selinuxsubdir-$(CONFIG_DTC)         += dtcsubdir-$(CONFIG_GDB_SCRIPTS) += gdb # Let clean descend into subdirssubdir-	+= basic kconfig package gcc-plugins