os: support UART drivers in board-specific repositories

Fixes #4973
This commit is contained in:
Christian Prochaska 2023-08-01 22:43:00 +02:00 committed by Christian Helmuth
parent 419e5e46f6
commit 48e6468df1

View File

@ -1,6 +1,8 @@
SRC_CC = main.cc
LIBS = base
INC_DIR += $(PRG_DIR) $(REP_DIR)/src/drivers/uart
GENERIC_DRV_DIR = $(dir $(call select_from_repositories,src/drivers/uart/target.inc))
vpath main.cc $(REP_DIR)/src/drivers/uart
INC_DIR += $(PRG_DIR) $(GENERIC_DRV_DIR)
vpath main.cc $(GENERIC_DRV_DIR)