summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-02-17 14:45:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-18 23:38:20 +0000
commit315fe8ab3b5bb8a709be98cd8998d4525fbe8725 (patch)
treed172698d2862c77a3ea144a75d6f61b9508a9fb2 /meta/classes
parent76d1af4fe73fee0696067dfc4dd1bc9a9015416a (diff)
downloadopenembedded-core-contrib-315fe8ab3b5bb8a709be98cd8998d4525fbe8725.tar.gz
rootfs_deb: handle aarch64 SDK_ARCH
This class maps from OE architectures to dpkg architectures, but wasn't handling aarch64 correctly. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rootfs_deb.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index ef616da2296..0469ba7059a 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)
}