1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 # !! 2 ### 3 # fixdep: used to generate dependency informat !! 3 # This Makefile lists the most basic programs used during the build process. >> 4 # The programs listed herein are what are needed to do the basic stuff, >> 5 # such as fix file dependencies. >> 6 # This initial step is needed to avoid files to be recompiled >> 7 # when kernel configuration changes (which is what happens when >> 8 # .config is included by main Makefile. >> 9 # --------------------------------------------------------------------------- >> 10 # fixdep: Used to generate dependency information during build process 4 11 5 hostprogs-always-y += fixdep !! 12 hostprogs-y := fixdep >> 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.