mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-23 22:52:48 +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
277 B
INI
14 lines
277 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 'Mips' in targets:
|
|
config.unsupported = True
|
|
|