diff options
author | Ross Burton <ross@burtonini.com> | 2021-02-17 14:45:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-18 23:40:01 +0000 |
commit | 27e9c6871a3f36b9959612c6f2a8e1057a8b641e (patch) | |
tree | 4a785d2a262a2d95c148c0d74233bb0635b10f66 /meta/classes | |
parent | fe787318de041d4195dda3ef15d2932259fce271 (diff) | |
download | poky-27e9c6871a3f36b9959612c6f2a8e1057a8b641e.tar.gz |
rootfs_deb: handle aarch64 SDK_ARCH
This class maps from OE architectures to dpkg architectures, but wasn't
handling aarch64 correctly.
(From OE-Core rev: 315fe8ab3b5bb8a709be98cd8998d4525fbe8725)
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.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
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 () { | |||
32 | d.setVar('DEB_SDK_ARCH', 'amd64') | 32 | d.setVar('DEB_SDK_ARCH', 'amd64') |
33 | elif darch == "arm": | 33 | elif darch == "arm": |
34 | d.setVar('DEB_SDK_ARCH', 'armel') | 34 | d.setVar('DEB_SDK_ARCH', 'armel') |
35 | elif darch == "aarch64": | ||
36 | d.setVar('DEB_SDK_ARCH', 'arm64') | ||
37 | else: | ||
38 | bb.fatal("Unhandled SDK_ARCH %s" % darch) | ||
35 | } | 39 | } |