Skip to content

Commit

Permalink
Merge branch 'exclude-morello-embedded-from-llvm-build' into 'master'
Browse files Browse the repository at this point in the history
Exclude embedded-morello when building with GNAT-LLVM

See merge request eng/toolchain/bb-runtimes!51
  • Loading branch information
burratoo committed Nov 6, 2023
2 parents ce6a00a + 850ede9 commit 64c24e9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions aarch64/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# BSP support for ARM64
from support import Compiler, target_compiler
from support.bsp_sources.archsupport import ArchSupport
from support.bsp_sources.target import DFBBTarget

Expand Down Expand Up @@ -100,12 +101,18 @@ def compiler_switches(self):

@property
def system_ads(self):
return {
result = {
'light': 'system-xi-arm.ads',
'light-tasking': 'system-xi-arm-gic-sfp.ads',
'embedded': 'system-xi-arm-gic-full.ads'
}

# GNAT-LLVM can't build the embedded Morello runtime yet, so we exclude it for
# the time being.
if target_compiler() != Compiler.gnat_llvm:
result['embedded'] = 'system-xi-arm-gic-full.ads'

return result


class ZynqMP(Aarch64Target):
@property
Expand Down

0 comments on commit 64c24e9

Please sign in to comment.