Skip to contentSkip to conversation

rootfs_deb: handle aarch64 SDK_ARCH

PATCH New Ross Burton 1 participant 1 message Feb 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rootfs_deb: handle aarch64 SDK_ARCH

This class maps from OE architectures to dpkg architectures, but wasn't handling aarch64 correctly.

---
 meta/classes/rootfs_deb.bbclass | 4 ++++
 1 file changed, 4 insertions(+)
meta/classes/rootfs_deb.bbclass +4 -0
index ef616da229..0469ba7059 100644
@@ -32,4 +32,8 @@ python () {
          d.setVar('DEB_SDK_ARCH', 'amd64')
     elif darch == "arm":
          d.setVar('DEB_SDK_ARCH', 'armel')
+    elif darch == "aarch64":
+         d.setVar('DEB_SDK_ARCH', 'arm64')
+    else:
+         bb.fatal("Unhandled SDK_ARCH %s" % darch)
 }
Signature · 1 line
2.25.1