Skip to content

Commit

Permalink
linux: add loongarch64 support
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist committed Jan 18, 2023
1 parent a59cd8b commit 1db68e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion meta/recipes-kernel/linux/linux-yocto-dev.bb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ PACKAGECONFIG[dt-validation] = ",,python3-dtschema-native"
# we need the wrappers if validation isn't in the packageconfig
DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'dt-validation', '', 'python3-dtschema-wrapper-native', d)}"

COMPATIBLE_MACHINE = "^(qemuarmv5|qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv32|qemuriscv64)$"
COMPATIBLE_MACHINE = "^(qemuarmv5|qemuarm|qemuarm64|qemux86|qemuppc|qemumips|qemumips64|qemux86-64|qemuriscv32|qemuriscv64|qemuloongarch64)$"

KERNEL_DEVICETREE:qemuarmv5 = "versatile-pb.dtb"

Expand Down
4 changes: 3 additions & 1 deletion meta/recipes-kernel/linux/linux-yocto_6.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ KBRANCH:qemuriscv64 ?= "v6.1/standard/base"
KBRANCH:qemuriscv32 ?= "v6.1/standard/base"
KBRANCH:qemux86 ?= "v6.1/standard/base"
KBRANCH:qemux86-64 ?= "v6.1/standard/base"
KBRANCH:qemuloongarch64 ?= "v6.1/standard/base"
KBRANCH:qemumips64 ?= "v6.1/standard/mti-malta64"

SRCREV_machine:qemuarm ?= "f3fae08180e0e42fe1d84bc27fadfbe712486e7d"
SRCREV_machine:qemuarm64 ?= "872afe79c5e568acf5f971952e78caada8424df7"
SRCREV_machine:qemuloongarch64 ?= "872afe79c5e568acf5f971952e78caada8424df7"
SRCREV_machine:qemumips ?= "f33d80dcd64dbdf265f8501370595c9b7672b402"
SRCREV_machine:qemuppc ?= "872afe79c5e568acf5f971952e78caada8424df7"
SRCREV_machine:qemuriscv64 ?= "872afe79c5e568acf5f971952e78caada8424df7"
Expand Down Expand Up @@ -51,7 +53,7 @@ KCONF_BSP_AUDIT_LEVEL = "1"

KERNEL_DEVICETREE:qemuarmv5 = "versatile-pb.dtb"

COMPATIBLE_MACHINE = "^(qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64|qemuriscv64|qemuriscv32)$"
COMPATIBLE_MACHINE = "^(qemuarm|qemuarmv5|qemuarm64|qemux86|qemuppc|qemuppc64|qemumips|qemumips64|qemux86-64|qemuriscv64|qemuriscv32|qemuloongarch64)$"

# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc"
Expand Down

0 comments on commit 1db68e9

Please sign in to comment.