14 lines
376 B
Makefile
14 lines
376 B
Makefile
# Additional linux build rules
|
|
|
|
dirs-y += src/linux src/generic
|
|
|
|
src-y += linux/main.c linux/timer.c linux/console.c linux/watchdog.c
|
|
src-y += linux/pca9685.c linux/spidev.c linux/analog.c linux/hard_pwm.c
|
|
src-y += linux/i2c.c generic/crc16_ccitt.c generic/alloc.c
|
|
|
|
CFLAGS_klipper.elf += -lutil
|
|
|
|
flash: $(OUT)klipper.elf
|
|
@echo " Flashing"
|
|
$(Q)sudo ./scripts/flash-linux.sh
|