All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rootfs_deb: handle aarch64 SDK_ARCH
@ 2021-02-17 14:45 Ross Burton
  0 siblings, 0 replies; only message in thread
From: Ross Burton @ 2021-02-17 14:45 UTC (permalink / raw)
  To: openembedded-core

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

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/classes/rootfs_deb.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index ef616da229..0469ba7059 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -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)
 }
-- 
2.25.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-17 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-17 14:45 [PATCH] rootfs_deb: handle aarch64 SDK_ARCH Ross Burton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.