1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/native/Makefile
2018-04-12 17:48:07 +02:00

32 lines
524 B
Makefile

MODULE = cpu
DIRS += periph
DIRS += vfs
ifeq ($(shell uname -s),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)