We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
is_rust_module.sh
!RUST
1 parent a274015 commit 9fa3afeCopy full SHA for 9fa3afe
scripts/Makefile.modfinal
@@ -41,7 +41,7 @@ quiet_cmd_btf_ko = BTF [M] $@
41
cmd_btf_ko = \
42
if [ ! -f vmlinux ]; then \
43
printf "Skipping BTF generation for %s due to unavailability of vmlinux\n" $@ 1>&2; \
44
- elif $(srctree)/scripts/is_rust_module.sh $@; then \
+ elif [ -n "$(CONFIG_RUST)" ] && $(srctree)/scripts/is_rust_module.sh $@; then \
45
printf "Skipping BTF generation for %s because it's a Rust module\n" $@ 1>&2; \
46
else \
47
LLVM_OBJCOPY="$(OBJCOPY)" $(PAHOLE) -J $(PAHOLE_FLAGS) --btf_base vmlinux $@; \
0 commit comments