aboutsummaryrefslogtreecommitdiffstats
path: root/src/rp2040/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/rp2040/Makefile')
-rw-r--r--src/rp2040/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/rp2040/Makefile b/src/rp2040/Makefile
index 359d99c1..f34bf51e 100644
--- a/src/rp2040/Makefile
+++ b/src/rp2040/Makefile
@@ -47,26 +47,26 @@ $(OUT)lib/elf2uf2/elf2uf2: lib/elf2uf2/main.cpp
@echo " Building $@"
$(Q)g++ -g -O -Ilib/pico-sdk $< -o $@
-$(OUT)klipper.uf2: $(OUT)klipper.elf $(OUT)lib/elf2uf2/elf2uf2
+$(OUT)kutter.uf2: $(OUT)kutter.elf $(OUT)lib/elf2uf2/elf2uf2
@echo " Creating uf2 file $@"
$(Q)$(OUT)lib/elf2uf2/elf2uf2 $< $@
-rptarget-y := $(OUT)klipper.uf2
+rptarget-y := $(OUT)kutter.uf2
stage2-$(CONFIG_RP2040_HAVE_STAGE2) := $(OUT)stage2.o
# rp2040 building when using a bootloader
-$(OUT)klipper.bin: $(OUT)klipper.elf
+$(OUT)kutter.bin: $(OUT)kutter.elf
@echo " Creating bin file $@"
$(Q)$(OBJCOPY) -O binary $< $@
-rptarget-$(CONFIG_RPXXXX_HAVE_BOOTLOADER) := $(OUT)klipper.bin
+rptarget-$(CONFIG_RPXXXX_HAVE_BOOTLOADER) := $(OUT)kutter.bin
-# Set klipper.elf linker rules
+# Set kutter.elf linker rules
target-y += $(rptarget-y)
-CFLAGS_klipper.elf += -nostdlib -lgcc -lc_nano
-CFLAGS_klipper.elf += -T $(OUT)src/rp2040/rpxxxx_link.ld
-OBJS_klipper.elf += $(stage2-y)
-$(OUT)klipper.elf: $(stage2-y) $(OUT)src/rp2040/rpxxxx_link.ld
+CFLAGS_kutter.elf += -nostdlib -lgcc -lc_nano
+CFLAGS_kutter.elf += -T $(OUT)src/rp2040/rpxxxx_link.ld
+OBJS_kutter.elf += $(stage2-y)
+$(OUT)kutter.elf: $(stage2-y) $(OUT)src/rp2040/rpxxxx_link.ld
# Flash rules
lib/rp2040_flash/rp2040_flash: