Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22 lines
902 B
Makefile
22 lines
902 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# fixdep: used to generate dependency information during build process
|
|
|
|
hostprogs-always-y += fixdep
|
|
|
|
# randstruct: the seed is needed before building the gcc-plugin or
|
|
# before running a Clang kernel build.
|
|
gen-randstruct-seed := $(srctree)/scripts/gen-randstruct-seed.sh
|
|
quiet_cmd_create_randstruct_seed = GENSEED $@
|
|
cmd_create_randstruct_seed = \
|
|
$(CONFIG_SHELL) $(gen-randstruct-seed) \
|
|
$@ $(objtree)/include/generated/randstruct_hash.h
|
|
$(obj)/randstruct.seed: $(gen-randstruct-seed) FORCE
|
|
$(call if_changed,create_randstruct_seed)
|
|
always-$(CONFIG_RANDSTRUCT) += randstruct.seed
|
|
|
|
# integer-wrap: if the .scl file changes, we need to do a full rebuild.
|
|
$(obj)/../../include/generated/integer-wrap.h: $(srctree)/scripts/integer-wrap-ignore.scl FORCE
|
|
$(call if_changed,touch)
|
|
always-$(CONFIG_UBSAN_INTEGER_WRAP) += ../../include/generated/integer-wrap.h
|