1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/native/Makefile
2019-10-18 08:46:51 +02:00

33 lines
536 B
Makefile

MODULE = cpu
DIRS += periph
DIRS += vfs
OS := $(shell uname -s)
ifeq ($(OS),Darwin)
CFLAGS += -D_XOPEN_SOURCE=600 -D_DARWIN_C_SOURCE
endif
ifneq (,$(filter netdev_tap,$(USEMODULE)))
DIRS += netdev_tap
endif
ifneq (,$(filter socket_zep,$(USEMODULE)))
DIRS += socket_zep
endif
ifneq (,$(filter mtd_native,$(USEMODULE)))
DIRS += mtd
endif
ifneq (,$(filter can_linux,$(USEMODULE)))
DIRS += can
endif
ifneq (,$(filter trace,$(USEMODULE)))
DIRS += trace
endif
include $(RIOTBASE)/Makefile.base
INCLUDES = $(NATIVEINCLUDES)