mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
47 lines
903 B
Plaintext
47 lines
903 B
Plaintext
# Copyright (c) 2020 HAW Hamburg
|
|
#
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
# directory for more details.
|
|
#
|
|
|
|
config CPU_ARCH_NATIVE
|
|
bool
|
|
|
|
config CPU_CORE_NATIVE
|
|
bool
|
|
select CPU_ARCH_NATIVE
|
|
|
|
config CPU_FAM_NATIVE
|
|
bool
|
|
select CPU_CORE_NATIVE
|
|
|
|
config CPU_MODEL_NATIVE
|
|
bool
|
|
select CPU_FAM_NATIVE
|
|
select NATIVE_OS_LINUX if "$(OS)" = "Linux"
|
|
select NATIVE_OS_FREEBSD if "$(OS)" = "FreeBSD"
|
|
|
|
## OS Variants
|
|
config NATIVE_OS_LINUX
|
|
bool
|
|
|
|
config NATIVE_OS_FREEBSD
|
|
bool
|
|
|
|
## CPU Common symbols
|
|
config CPU_ARCH
|
|
default "native" if CPU_ARCH_NATIVE
|
|
|
|
config CPU_CORE
|
|
default "native" if CPU_CORE_NATIVE
|
|
|
|
config CPU_FAM
|
|
default "native" if CPU_FAM_NATIVE
|
|
|
|
config CPU_MODEL
|
|
default "native" if CPU_MODEL_NATIVE
|
|
|
|
config CPU
|
|
default "native" if CPU_MODEL_NATIVE
|