1 # SPDX-License-Identifier: GPL-2.0-only !! 1 ### 2 # !! 2 # Makefile.basic lists the most basic programs used during the build process. 3 # fixdep: used to generate dependency informat !! 3 # The programs listed herein are what are needed to do the basic stuff, >> 4 # such as fix file dependencies. >> 5 # This initial step is needed to avoid files to be recompiled >> 6 # when kernel configuration changes (which is what happens when >> 7 # .config is included by main Makefile. >> 8 # --------------------------------------------------------------------------- >> 9 # fixdep: Used to generate dependency information during build process 4 10 5 hostprogs-always-y += fixdep !! 11 hostprogs-y := fixdep >> 12 hostprogs-$(CONFIG_BUILD_BIN2C) += bin2c >> 13 always := $(hostprogs-y) 6 14 7 # randstruct: the seed is needed before buildi !! 15 # fixdep is needed to compile other host programs 8 # before running a Clang kernel build. !! 16 $(addprefix $(obj)/,$(filter-out fixdep,$(always))): $(obj)/fixdep 9 gen-randstruct-seed := $(srctree)/scripts/ << 10 quiet_cmd_create_randstruct_seed = GENSEED $@ << 11 cmd_create_randstruct_seed = \ << 12 $(CONFIG_SHELL) $(gen-randstruct-seed) << 13 $@ $(objtree)/include/generate << 14 $(obj)/randstruct.seed: $(gen-randstruct-seed) << 15 $(call if_changed,create_randstruct_se << 16 always-$(CONFIG_RANDSTRUCT) += randstruct.seed <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.