mirror of
https://github.com/andreili/klipper.git
synced 2025-08-23 19:34:06 +02:00
Fix build on Gentoo
This commit is contained in:
parent
e1176e4dfb
commit
5d32e60b51
@ -63,7 +63,7 @@ rptarget-$(CONFIG_RPXXXX_HAVE_BOOTLOADER) := $(OUT)klipper.bin
|
||||
|
||||
# Set klipper.elf linker rules
|
||||
target-y += $(rptarget-y)
|
||||
CFLAGS_klipper.elf += -nostdlib -lgcc -lc_nano
|
||||
CFLAGS_klipper.elf += -nostdlib -lgcc -lc_nano -lnosys
|
||||
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
|
||||
|
@ -32,7 +32,7 @@ CFLAGS-$(CONFIG_MACH_STM32H7) += -mcpu=cortex-m7 -Ilib/stm32h7/include
|
||||
CFLAGS-$(CONFIG_MACH_STM32L4) += -mcpu=cortex-m4 -Ilib/stm32l4/include
|
||||
CFLAGS += $(CFLAGS-y) -D$(MCU_UPPER) -mthumb -Ilib/cmsis-core -Ilib/fast-hash
|
||||
|
||||
CFLAGS_klipper.elf += -nostdlib -lgcc -lc_nano
|
||||
CFLAGS_klipper.elf += -nostdlib -lgcc -lc_nano -lnosys
|
||||
CFLAGS_klipper.elf += -T $(OUT)src/generic/armcm_link.ld
|
||||
$(OUT)klipper.elf: $(OUT)src/generic/armcm_link.ld
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user