xaizek / zograscope

Mainly a syntax-aware diff that also provides a number of additional tools.
GNU Affero General Public License v3.0
51 stars 2 forks source link

Makefile parser error: syntax error, unexpected SLIT #4

Closed tritao closed 5 years ago

tritao commented 5 years ago
../nuttx/arch/avr/src/avr/Toolchain.defs:92:11: parse error: syntax error, unexpected SLIT
Failed to parse: ../nuttx/arch/avr/src/avr/Toolchain.defs

Points to this:

  $(error "No valid CONFIG_ARCH_CHIP_ set in the configuration")

Full file: https://gist.github.com/tritao/352281e9dee9d8832c51772378b92102

I get the same reported error message for this as well:

LIBGCC = ${shell "$(CC)" $(ARCHCPUFLAGS) -print-libgcc-file-name}

Probably the same issue.

Another instance:

  CUSTOM_DIR = $(patsubst "%",%,$(CONFIG_ARCH_BOARD_CUSTOM_DIR))
xaizek commented 5 years ago

Thanks.