diff options
author | dankm <dan.mcgregor@usask.ca> | 2018-03-26 14:08:08 -0600 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-03-26 16:08:08 -0400 |
commit | 19a1fbaca2137a9d4cd529e363039a612a4f941d (patch) | |
tree | 83f88e254ccb527b2272b012d982ffa80086fb5a /keyboards/handwired/woodpad/rules.mk | |
parent | ae7284edb8bd8ed7fcab29415049bf03baf57f8d (diff) |
Better non-Linux support (#2524)
* grep -> $(GREP)
Some UNIXy systems (FreeBSD for example) don't use GNU grep by default.
Allow the user to specify which grep implementation to use so that
GNU grep can be specified.
* Allow using versioned avr-gcc command
Don't hardcode "avr-gcc", and allow strings such as "avr-gcc8", or
"avr-gcc-7.3.0" to match checks for "avr-gcc".
Diffstat (limited to 'keyboards/handwired/woodpad/rules.mk')
-rw-r--r-- | keyboards/handwired/woodpad/rules.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/woodpad/rules.mk b/keyboards/handwired/woodpad/rules.mk index 11f096581e..f8c488307f 100644 --- a/keyboards/handwired/woodpad/rules.mk +++ b/keyboards/handwired/woodpad/rules.mk @@ -71,8 +71,8 @@ RGBLIGHT_ENABLE ?= no # while [ -z $$USB ]; do \ # sleep 1; \ # ls /dev/tty* > /tmp/2; \ -# USB=`diff /tmp/1 /tmp/2 | grep -o '/dev/tty.*'`; \ +# USB=`diff /tmp/1 /tmp/2 | $(GREP) -o '/dev/tty.*'`; \ # done; \ # avrdude -p $(MCU) -c avr109 -P $$USB -U flash:w:$(BUILD_DIR)/$(TARGET).hex # -#.PHONY: avrdude
\ No newline at end of file +#.PHONY: avrdude |