1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2fc01adc4SMasahiro Yamada# 3fc01adc4SMasahiro Yamada# fixdep: used to generate dependency information during build process 41da177e4SLinus Torvalds 5faabed29SMasahiro Yamadahostprogs-always-y += fixdep 6be2b34faSKees Cook 7be2b34faSKees Cook# randstruct: the seed is needed before building the gcc-plugin or 8be2b34faSKees Cook# before running a Clang kernel build. 9be2b34faSKees Cookgen-randstruct-seed := $(srctree)/scripts/gen-randstruct-seed.sh 10be2b34faSKees Cookquiet_cmd_create_randstruct_seed = GENSEED $@ 11be2b34faSKees Cookcmd_create_randstruct_seed = \ 12be2b34faSKees Cook $(CONFIG_SHELL) $(gen-randstruct-seed) \ 13be2b34faSKees Cook $@ $(objtree)/include/generated/randstruct_hash.h 14be2b34faSKees Cook$(obj)/randstruct.seed: $(gen-randstruct-seed) FORCE 15be2b34faSKees Cook $(call if_changed,create_randstruct_seed) 16be2b34faSKees Cookalways-$(CONFIG_RANDSTRUCT) += randstruct.seed 17*11bb1678SKees Cook 18*11bb1678SKees Cook# integer-wrap: if the .scl file changes, we need to do a full rebuild. 19*11bb1678SKees Cook$(obj)/../../include/generated/integer-wrap.h: $(srctree)/scripts/integer-wrap-ignore.scl FORCE 20*11bb1678SKees Cook $(call if_changed,touch) 21*11bb1678SKees Cookalways-$(CONFIG_UBSAN_INTEGER_WRAP) += ../../include/generated/integer-wrap.h 22