Lines Matching refs:target_arch
75 # set target_arch to host arch
92 This works by looking for target_arch in GYP_DEFINES.
99 target_arch = gyp_defines.get('target_arch')
100 if target_arch == 'x64':
102 elif target_arch == 'ia32':
104 elif target_arch == 'arm':
106 elif target_arch == 'arm64':
108 elif target_arch == 'mipsel':
110 elif target_arch:
111 raise Error('Unrecognized target_arch: %s' % target_arch)
129 # Finally, if we can detect a non-standard target_arch such as ARM or
133 target_arch = DetectTargetArch()
134 if target_arch and target_arch not in (host_arch, 'i386', 'arm64'):
135 InstallSysroot(target_arch)
160 def InstallSysroot(target_arch):
165 if target_arch == 'amd64':
170 elif target_arch == 'arm':
175 elif target_arch == 'i386':
180 elif target_arch == 'mips':
186 raise Error('Unknown architecture: %s' % target_arch)
195 (target_arch, sysroot)
198 print 'Installing Debian Wheezy %s root image: %s' % (target_arch, sysroot)