Lines Matching refs:ctx
1243 self.srcdir = config.ctx.component_srcdir('linux')
1252 self.srcdir = glibc.compiler.ctx.component_srcdir('linux')
1253 self.builddir = glibc.ctx.component_builddir(
1300 def __init__(self, ctx, arch, os_name, variant=None, gcc_cfg=None, argument
1304 self.ctx = ctx
1333 self.installdir = ctx.compiler_installdir(self.name)
1334 self.bindir = ctx.compiler_bindir(self.name)
1335 self.sysroot = ctx.compiler_sysroot(self.name)
1336 self.builddir = os.path.join(ctx.builddir, 'compilers', self.name)
1337 self.logsdir = os.path.join(ctx.logsdir, 'compilers', self.name)
1341 return self.ctx.component_builddir('compilers', self.name, component)
1345 self.ctx.remove_recreate_dirs(self.installdir, self.builddir,
1347 cmdlist = CommandList('compilers-%s' % self.name, self.ctx.keep)
1350 os.path.join(self.ctx.host_libraries_installdir,
1375 self.ctx.add_makefile_cmdlist('compilers-%s' % self.name, cmdlist,
1380 srcdir = self.ctx.component_srcdir(tool_src)
1386 '--build=%s' % self.ctx.build_triplet,
1387 '--host=%s' % self.ctx.build_triplet,
1410 srcdir = self.ctx.component_srcdir('gnumach')
1416 '--build=%s' % self.ctx.build_triplet,
1427 srcdir = self.ctx.component_srcdir('hurd')
1433 '--build=%s' % self.ctx.build_triplet,
1455 host_libs = self.ctx.host_libraries_installdir
1479 '--with-glibc-version=%s' % self.ctx.glibc_version
1488 if not self.ctx.full_gcc:
1491 langs = 'all' if self.ctx.full_gcc else 'c,c++'
1500 self.srcdir = glibc.ctx.component_srcdir('glibc')
1506 '--build=%s' % glibc.ctx.build_triplet,
1542 self.builddir = glibc.ctx.component_builddir(
1551 self.builddir = glibc.ctx.component_builddir(
1553 self.installdir = glibc.ctx.glibc_installdir(glibc.name)
1554 if glibc.ctx.strip:
1558 self.save_logs = glibc.ctx.save_logs
1577 self.builddir = glibc.ctx.component_builddir(
1579 self.linuxdir = glibc.ctx.component_builddir(
1593 self.ctx = compiler.ctx
1628 builddir = self.ctx.component_builddir('glibcs', self.name, 'glibc')
1629 installdir = self.ctx.glibc_installdir(self.name)
1630 logsdir = os.path.join(self.ctx.logsdir, 'glibcs', self.name)
1631 self.ctx.remove_recreate_dirs(installdir, builddir, logsdir)
1632 cmdlist = CommandList('glibcs-%s' % self.name, self.ctx.keep)
1638 self.ctx.add_makefile_cmdlist('glibcs-%s' % self.name, cmdlist,
1666 logsdir = os.path.join(self.ctx.logsdir, 'update-syscalls', self.name)
1667 self.ctx.remove_recreate_dirs(policy.builddir, logsdir)
1668 cmdlist = CommandList('update-syscalls-%s' % self.name, self.ctx.keep)
1680 self.ctx.add_makefile_cmdlist('update-syscalls-%s' % self.name,
1865 ctx = Context(topdir, opts.parallelism, opts.keep, opts.replace_sources,
1868 ctx.run_builds(opts.action, opts.configs)