162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# fixdep: used to generate dependency information during build process 462306a36Sopenharmony_ci 562306a36Sopenharmony_cihostprogs-always-y += fixdep 662306a36Sopenharmony_ci 762306a36Sopenharmony_ci# randstruct: the seed is needed before building the gcc-plugin or 862306a36Sopenharmony_ci# before running a Clang kernel build. 962306a36Sopenharmony_cigen-randstruct-seed := $(srctree)/scripts/gen-randstruct-seed.sh 1062306a36Sopenharmony_ciquiet_cmd_create_randstruct_seed = GENSEED $@ 1162306a36Sopenharmony_cicmd_create_randstruct_seed = \ 1262306a36Sopenharmony_ci $(CONFIG_SHELL) $(gen-randstruct-seed) \ 1362306a36Sopenharmony_ci $@ $(objtree)/include/generated/randstruct_hash.h 1462306a36Sopenharmony_ci$(obj)/randstruct.seed: $(gen-randstruct-seed) FORCE 1562306a36Sopenharmony_ci $(call if_changed,create_randstruct_seed) 1662306a36Sopenharmony_cialways-$(CONFIG_RANDSTRUCT) += randstruct.seed 17