mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-08 06:24:03 -06:00
Makefile: Move listing of directories to create to board makefiles
Rename DIRS to dirs-y and populate it in the per-board Makefile rules. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
8e1c0941b0
commit
4dd3478fc1
3 changed files with 7 additions and 3 deletions
|
@ -3,6 +3,8 @@
|
|||
# Use the avr toolchain
|
||||
CROSS_PREFIX=avr-
|
||||
|
||||
dirs-y += src/avr lib/pjrc_usb_serial
|
||||
|
||||
CFLAGS-y += -mmcu=$(CONFIG_MCU) -DF_CPU=$(CONFIG_CLOCK_FREQ)
|
||||
LDFLAGS-y += -Wl,--relax
|
||||
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
# Additional simulator build rules
|
||||
|
||||
dirs-y += src/simulator src/generic
|
||||
|
||||
src-y += simulator/main.c simulator/gpio.c
|
||||
src-y += generic/crc16_ccitt.c generic/alloc.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue