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

Fix Makefile indentation #1629

Merged
merged 1 commit into from
Sep 5, 2024
Merged

Conversation

Timmmm
Copy link
Contributor

@Timmmm Timmmm commented Sep 5, 2024

Tabs should only be used for recipes. For ifeq and similar you need to use spaces. This is documented here: https://www.gnu.org/software/make/manual/html_node/Conditional-Syntax.html

Extra spaces are allowed and ignored at the beginning of the conditional directive line, but a tab is not allowed.

Older versions of Make do not enforce this, but it seems like newer versions do (I'm using one built from source some time after 4.4.1).

Tabs should only be used for recipes. For `ifeq` and similar you need to use spaces. This is documented here: https://www.gnu.org/software/make/manual/html_node/Conditional-Syntax.html

> Extra spaces are allowed and ignored at the beginning of the conditional directive line, but a tab is not allowed.

Older versions of Make do not enforce this, but it seems like newer versions do (I'm using one built from source some time after 4.4.1).
@aswaterman aswaterman merged commit af96175 into riscv:main Sep 5, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants