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:
Kevin O'Connor
2016-06-08 15:40:06 -04:00
parent 8e1c0941b0
commit 4dd3478fc1
3 changed files with 7 additions and 3 deletions

View File

@@ -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