-
- Downloads
Stop with error when $(CC) is missing
Trying to "make login PORT=/dev/ttyACM2" in the hello-world example for a target without installed toolchain currently results in: make: msp430-gcc: Command not found make: msp430-gcc: Command not found make: msp430-gcc: Command not found /bin/sh: 1: test: -lt: unexpected operator rlwrap ../../tools/serial-io/serialdump -b115200 /dev/ttyACM2 connecting to /dev/ttyACM2 Add a check that $(CC) can be found after including Makefile.$(TARGET) to ensure that make immediately stops even if the target Makefile is missing error checks for the toolchain. For sky, this results in the error message: make: msp430-gcc: Command not found make: msp430-gcc: Command not found ./../Makefile.include:108: *** Target "sky" compiler "msp430-gcc" cannot be found. Stop.
Please register or sign in to comment