Skip to content

Commit

Permalink
commontorizon: nezha: Temporary remove RAC
Browse files Browse the repository at this point in the history
For risc-v targets there is not support for RAC yet, so
remove it from the image.

Upstream issue: torizon/rac#4

Signed-off-by: Matheus Castello <[email protected]>
  • Loading branch information
microhobby committed Mar 18, 2024
1 parent 4de8ade commit 3ca5264
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions classes/rust-target-config.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,13 @@ TARGET_POINTER_WIDTH[riscv64gc] = "64"
TARGET_C_INT_WIDTH[riscv64gc] = "64"
MAX_ATOMIC_WIDTH[riscv64gc] = "64"

## riscv64-unknown-linux-{gnu, musl}
DATA_LAYOUT[riscv64] = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"
TARGET_ENDIAN[riscv64] = "little"
TARGET_POINTER_WIDTH[riscv64] = "64"
TARGET_C_INT_WIDTH[riscv64] = "64"
MAX_ATOMIC_WIDTH[riscv64] = "64"

## loongarch64-unknown-linux-{gnu, musl}
DATA_LAYOUT[loongarch64] = "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128"
TARGET_ENDIAN[loongarch64] = "little"
Expand Down
3 changes: 2 additions & 1 deletion conf/machine/include/nezha-allwinner-d1.inc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ IMAGE_BOOT_FILES:nezha-allwinner-d1 = "${KERNEL_IMAGETYPE} sun20i-d1-nezha.dtb b
IMAGE_BOOT_FILES:sota:nezha-allwinner-d1 = "${KERNEL_IMAGETYPE} sun20i-d1-nezha.dtb boot.scr-${MACHINE};boot.scr.uimg"

hostname:pn-base-files = "torizon-nezha"
CORE_IMAGE_BASE_INSTALL:remove = "set-hostname"
# FIXME: rac does not compile for riscv64, https://github.com/briansmith/ring/issues/1182
CORE_IMAGE_BASE_INSTALL:remove = "set-hostname rac"

# Use meta-lmp but maintain compatibility
BBMASK += " \
Expand Down

0 comments on commit 3ca5264

Please sign in to comment.