mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150664 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
276 B
INI
14 lines
276 B
INI
config.suffixes = ['.ll', '.c', '.cpp', '.s']
|
|
|
|
def getRoot(config):
|
|
if not config.parent:
|
|
return config
|
|
return getRoot(config.parent)
|
|
|
|
root = getRoot(config)
|
|
|
|
targets = set(root.targets_to_build.split())
|
|
if not 'ARM' in targets:
|
|
config.unsupported = True
|
|
|