1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/native/Makefile
2020-09-04 15:01:10 +02:00

39 lines
648 B
Makefile

MODULE = cpu
DIRS += periph
ifneq (,$(filter native_vfs,$(USEMODULE)))
DIRS += vfs
endif
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 stdio_native,$(USEMODULE)))
DIRS += stdio_native
endif
ifneq (,$(filter mtd_native,$(USEMODULE)))
DIRS += mtd
endif
ifneq (,$(filter can_linux,$(USEMODULE)))
DIRS += can
endif
ifneq (,$(filter backtrace,$(USEMODULE)))
DIRS += backtrace
endif
include $(RIOTBASE)/Makefile.base
INCLUDES = $(NATIVEINCLUDES)