summaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-07-27 17:02:37 +0200
committerKees Cook <kees@kernel.org>2024-08-15 18:26:02 +0200
commit5a8d0c46c9e024bed4805a9335fe6124d8a78d3a (patch)
treee78fa569e6eafdfdf4c3c4ced7d1ef4e8eae3a91 /lib/test_fortify/Makefile
parentfortify: refactor test_fortify Makefile to fix some build problems (diff)
downloadlinux-5a8d0c46c9e024bed4805a9335fe6124d8a78d3a.tar.xz
linux-5a8d0c46c9e024bed4805a9335fe6124d8a78d3a.zip
fortify: move test_fortify.sh to lib/test_fortify/
This script is only used in lib/test_fortify/. There is no reason to keep it in scripts/. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20240727150302.1823750-3-masahiroy@kernel.org Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'lib/test_fortify/Makefile')
-rw-r--r--lib/test_fortify/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test_fortify/Makefile b/lib/test_fortify/Makefile
index 3907a2242ef9..1826172c32d4 100644
--- a/lib/test_fortify/Makefile
+++ b/lib/test_fortify/Makefile
@@ -3,10 +3,10 @@
ccflags-y := $(call cc-disable-warning,fortify-source)
quiet_cmd_test_fortify = TEST $@
- cmd_test_fortify = $(CONFIG_SHELL) $(srctree)/scripts/test_fortify.sh \
+ cmd_test_fortify = $(CONFIG_SHELL) $(src)/test_fortify.sh \
$< $@ "$(NM)" $(CC) $(c_flags) -DKBUILD_EXTRA_WARN1
-$(obj)/%.log: $(src)/%.c $(srctree)/scripts/test_fortify.sh \
+$(obj)/%.log: $(src)/%.c $(src)/test_fortify.sh \
$(src)/test_fortify.h \
$(srctree)/include/linux/fortify-string.h \
FORCE