diff --git a/optiboot/bootloaders/optiboot/Makefile.isp b/optiboot/bootloaders/optiboot/Makefile.isp index 24acf62..1d792b0 100644 --- a/optiboot/bootloaders/optiboot/Makefile.isp +++ b/optiboot/bootloaders/optiboot/Makefile.isp @@ -34,7 +34,7 @@ AVRDUDE_ROOT ?= $(GCCROOT) AVRDUDE_CONF ?= -C$(TOOLROOT)/avr/etc/avrdude.conf # Default filename for the selected target -FILENAME ?=$ (PROGRAM)_$(TARGET).hex +FILENAME ?= $(PROGRAM)_$(TARGET).hex # These are the parameters for a usb-based STK500v2 programmer. # Exact type unknown. (historical Makefile values.) @@ -72,7 +72,7 @@ ISPFUSES = -e -u -U lock:w:0x$(LOCKFUSE):m $(EFUSE_CMD) \ # space from accidental SPM writes. Note: "2f" allows boot section to be read # by the application, which is different than the arduino default. # -ISPFLASH = -U flash:w:$(FILENAME).hex -U lock:w:$(LOCKFUSE):m +ISPFLASH = -U flash:w:$(FILENAME) -U lock:w:$(LOCKFUSE):m # There are certain complicated caused by the fact that the default state # of a fuse is a "1" rather than a "0", especially with respect to fuse bits