diff mbox series

[03/10] kernel-arch.bbclass: Add ARC to kernel arch map

Message ID 20180917212943.27237-4-abrodkin@synopsys.com
State New
Headers show
Series Introduce ARC port of OpenEmbedded | expand

Commit Message

Alexey Brodkin Sept. 17, 2018, 9:29 p.m. UTC
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
---
 meta/classes/kernel-arch.bbclass | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 09793fc..2b52a63 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -22,6 +22,7 @@  def map_kernel_arch(a, d):
     valid_archs = d.getVar('valid_archs').split()
 
     if   re.match('(i.86|athlon|x86.64)$', a):  return 'x86'
+    elif re.match('arceb$', a):                 return 'arc'
     elif re.match('armeb$', a):                 return 'arm'
     elif re.match('aarch64$', a):               return 'arm64'
     elif re.match('aarch64_be$', a):            return 'arm64'