@@ -1587,19 +1587,19 @@ show_submenu:
1587
1587
@$(CAT ) $(BOARDS_TXT ) | grep -E ' [a-zA-Z0-9_\-]+.menu.(cpu|chip).[a-zA-Z0-9_\-]+=' | sort -uf | sed ' s/.menu.\(cpu\|chip\)./:/' | sed ' s/=/:/' | column -s: -t
1588
1588
1589
1589
monitor : stty_params
1590
- ifeq ($(MONITOR_CMD ) , ' putty' )
1590
+ ifeq ($(notdir $( MONITOR_CMD )) , putty)
1591
1591
ifneq ($(strip $(MONITOR_PARAMS)),)
1592
1592
$(MONITOR_CMD) -serial -sercfg $(MONITOR_BAUDRATE),$(MONITOR_PARAMS) $(call get_monitor_port)
1593
1593
else
1594
1594
$(MONITOR_CMD) -serial -sercfg $(MONITOR_BAUDRATE) $(call get_monitor_port)
1595
1595
endif
1596
- else ifeq ($(MONITOR_CMD), picocom)
1596
+ else ifeq ($(notdir $( MONITOR_CMD) ), picocom)
1597
1597
$(MONITOR_CMD) -b $(MONITOR_BAUDRATE) $(MONITOR_PARAMS) $(call get_monitor_port)
1598
- else ifeq ($(MONITOR_CMD), cu)
1598
+ else ifeq ($(notdir $( MONITOR_CMD) ), cu)
1599
1599
$(MONITOR_CMD) -l $(call get_monitor_port) -s $(MONITOR_BAUDRATE)
1600
- else ifeq ($(MONITOR_CMD), less)
1600
+ else ifeq ($(notdir $( MONITOR_CMD) ), less)
1601
1601
$(MONITOR_CMD) -f $(call get_monitor_port)
1602
- else ifeq ($(MONITOR_CMD), cat)
1602
+ else ifeq ($(notdir $( MONITOR_CMD) ), cat)
1603
1603
$(MONITOR_CMD) $(call get_monitor_port)
1604
1604
else
1605
1605
$(MONITOR_CMD) $(call get_monitor_port) $(MONITOR_BAUDRATE)
@@ -1680,7 +1680,7 @@ help:
1680
1680
1681
1681
.PHONY : all upload raw_upload raw_eeprom error_on_caterina reset reset_stty ispload \
1682
1682
clean depends size show_boards monitor disasm symbol_sizes generated_assembly \
1683
- generate_assembly verify_size burn_bootloader help pre-build
1683
+ generate_assembly verify_size burn_bootloader help pre-build stty_params
1684
1684
1685
1685
# added - in the beginning, so that we don't get an error if the file is not present
1686
1686
-include $(DEPS )
0 commit comments