source: rtems-tools/specbuilder/sb-crossgcc @ 7231f49

4.104.115
Last change on this file since 7231f49 was 7231f49, checked in by Chris Johns <chrisj@…>, on 08/09/10 at 01:29:43

2010-08-09 Chris Johns <chrisj@…>

  • specbuilder, specbuilder/sb-build, specbuilder/sb-crossgcc, specbuilder/sb-setup, specbuilder/sb-specdump, specbuilder/sb-status, specbuilder/specbuilder/.cvsignore, specbuilder/specbuilder/build.py, specbuilder/specbuilder/config.sub, specbuilder/specbuilder/crossgcc.py, specbuilder/specbuilder/darwin.py, specbuilder/specbuilder/defaults.py, specbuilder/specbuilder/error.py, specbuilder/specbuilder/execute.py, specbuilder/specbuilder/log.py, specbuilder/specbuilder/setup.py, specbuilder/specbuilder/spec.py, specbuilder/specbuilder/status.py: New.
  • Property mode set to 100755
File size: 1.1 KB
Line 
1#! /usr/bin/env python
2#
3# $Id$
4#
5# RTEMS Tools Project (http://www.rtems.org/)
6# Copyright 2010 Chris Johns (chrisj@rtems.org)
7# All rights reserved.
8#
9# This file is part of the RTEMS Tools package in 'rtems-tools'.
10#
11# RTEMS Tools is free software: you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation, either version 3 of the License, or
14# (at your option) any later version.
15#
16# RTEMS Tools is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with RTEMS Tools.  If not, see <http://www.gnu.org/licenses/>.
23#
24
25import sys, os
26base = os.path.dirname(sys.argv[0])
27sys.path.insert(0, base + '/specbuilder')
28try:
29    import crossgcc
30    crossgcc.run()
31except ImportError:
32    print >> sys.stderr, "Incorrect SpecBulder installation"
33    sys.exit(1)
Note: See TracBrowser for help on using the repository browser.