google / google/kati

kati doesn't support .SECONDEXPANSION

Open
#247 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
1k
Forks
132
Avg merge
11m
Merged PRs (30d)
1

Description

The `.SECONDEXPANSION` special target does not have any effect in kati other than to print a warning that it is not supported.

This feature is used heavily by Linux's build system. The rule `$(obj)/%.o: $(src)/%.c ...` in scripts/Makefile.build also takes `$$(objtool_dep)` as an input, which without secondary expansion will be treated as the literal file `$(objtool_dep)`, which does not exist and cannot be made, so C files are instead compiled with the builtin rule, which doesn't work.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.