From 7cf49d145d7fdf2282b8fa3018e4db8d60891336 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 14 May 2020 13:56:12 +0200 Subject: [PATCH] boards/common/nrf52: Allow external boards Replace `$(RIOTBOARD)/$(BOARD)` with `$(BOARDDIR)`, which also works for external boards. This allows external boards to build on top of `$(RIOTBOARD)/common/nrf52`. --- boards/common/nrf52/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/common/nrf52/Makefile.include b/boards/common/nrf52/Makefile.include index 790ade43f7..6897d2664f 100644 --- a/boards/common/nrf52/Makefile.include +++ b/boards/common/nrf52/Makefile.include @@ -21,7 +21,7 @@ include $(RIOTMAKE)/tools/serial.inc.mk # This HACK can be removed either when Makefile.include is included after # Makefile.features (see #9913) or if 'nordic_softdevice_ble' is deprecated. -include $(APPDIR)/Makefile.board.dep -include $(RIOTBOARD)/$(BOARD)/Makefile.dep +include $(BOARDDIR)/Makefile.dep PROGRAMMER ?= jlink ifeq (jlink,$(PROGRAMMER))