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`.
This commit is contained in:
Marian Buschsieweke 2020-05-14 13:56:12 +02:00
parent 5ef4b1843a
commit 7cf49d145d
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

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