Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kati doesn't support .SECONDEXPANSION #247

Open
DelilahHoare opened this issue Mar 17, 2022 · 0 comments
Open

kati doesn't support .SECONDEXPANSION #247

DelilahHoare opened this issue Mar 17, 2022 · 0 comments

Comments

@DelilahHoare
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant