mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 10:52:44 +01:00
16eff9b6ed
Initial version to test 64 bit compatibility. Instead of a separate board, the inital version for Linux/x86_64 is enabled by setting the environment variable `NATIVE_64BIT=y` and compiling as usual. Not currently implemented: * Architectures other than x86_64 or operating systems other than Linux * No FreeBSD support * No Aarch support * Rust support for x86_64
20 lines
530 B
Makefile
20 lines
530 B
Makefile
NATIVEINCLUDES += -I$(RIOTCPU)/native/include -I$(RIOTBASE)/sys/include
|
|
|
|
ifneq (,$(filter periph_can,$(USEMODULE)))
|
|
ifeq (,$(filter libsocketcan,$(USEPKG)))
|
|
# link system libsocketcan if not using the provided package
|
|
LINKFLAGS += -lsocketcan
|
|
endif
|
|
endif
|
|
|
|
TOOLCHAINS_SUPPORTED = gnu llvm afl
|
|
|
|
# Platform triple as used by Rust
|
|
ifeq ($(OS) $(OS_ARCH),Linux x86_64)
|
|
ifneq (,$(filter arch_32bit,$(FEATURES_USED)))
|
|
RUST_TARGET = i686-unknown-linux-gnu
|
|
else
|
|
RUST_TARGET = x86_64-unknown-linux-gnu
|
|
endif
|
|
endif
|