mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
633f050d1f
Add an example that implements an external board based on native. It relies on 'BOARDSDIR' and uses common files from 'RIOT/boards' through 'RIOTBOARDS'. This application also works with the docker integration.
8 lines
270 B
Makefile
8 lines
270 B
Makefile
CFLAGS += -DTHIS_BOARD_IS='"external_native"'
|
|
|
|
# We must duplicate the include done by $(RIOTBASE)/Makefile.include
|
|
# to also include the main board header
|
|
INCLUDES += $(addprefix -I,$(wildcard $(RIOTBOARD)/native/include))
|
|
|
|
include $(RIOTBOARD)/native/Makefile.include
|