summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/riscv/arch-riscv.inc
blob: 19f8f3e21166c36903dcf422ccd4e5596e06f9c2 (plain)
1
2
3
4
5
6
7
8
9
10
# RISCV Architecture definition

DEFAULTTUNE ?= "riscv64"

TUNE_ARCH = "${TUNE_ARCH_tune-${DEFAULTTUNE}}"
TUNE_PKGARCH = "${TUNE_PKGARCH_tune-${DEFAULTTUNE}}"
TUNE_CCARGS .= ""

# QEMU usermode fails with invalid instruction error (For riscv32)
MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32', ' qemu-usermode', '', d)}"