riscv / riscv-isa-manual

RISC-V Instruction Set Manual
https://riscv.org/
Creative Commons Attribution 4.0 International
3.7k stars 643 forks source link

Fix Makefile indentation #1629

Closed Timmmm closed 2 months ago

Timmmm commented 2 months ago

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).