mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-17 20:52:40 +02:00
- Organize the machines a bit better - Add baremetal machine configs for 32/64 bit so we can generate SDKs for zephyr and other RTOSes - Fixup tune files to match BSP layer norms Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 lines
571 B
PHP
20 lines
571 B
PHP
require conf/machine/include/arch-riscv.inc
|
|
|
|
TUNEVALID[riscv64] = "Enable 64-bit RISC-V optimizations"
|
|
TUNEVALID[riscv32] = "Enable 32-bit RISC-V optimizations"
|
|
|
|
TUNEVALID[littleendian] = "Little endian mode"
|
|
|
|
AVAILTUNES += "riscv64 riscv32"
|
|
|
|
TUNE_FEATURES_tune-riscv64 = "riscv64 littleendian"
|
|
TUNE_ARCH_tune-riscv64 = "riscv64"
|
|
TUNE_PKGARCH_tune-riscv64 = "riscv64"
|
|
PACKAGE_EXTRA_ARCHS_tune-riscv64 = ""
|
|
|
|
TUNE_FEATURES_tune-riscv32 = "riscv32 littleendian"
|
|
TUNE_ARCH_tune-riscv32 = "riscv32"
|
|
TUNE_PKGARCH_tune-riscv32 = "riscv32"
|
|
PACKAGE_EXTRA_ARCHS_tune-riscv32 = ""
|
|
|