Add FreeBSD armv6 and armv7 targets

This commit is contained in:
MikaelUrankar 2019-02-02 16:41:38 +01:00
parent 1484d0d123
commit adddee4946
4 changed files with 54 additions and 0 deletions

View file

@ -262,6 +262,10 @@ def default_build_triple():
cputype = 'arm'
if ostype == 'linux-android':
ostype = 'linux-androideabi'
elif ostype == 'unknown-freebsd':
cputype = subprocess.check_output(
['uname', '-p']).strip().decode(default_encoding)
ostype = 'unknown-freebsd'
elif cputype == 'armv6l':
cputype = 'arm'
if ostype == 'linux-android':