mirror of
https://git.rtems.org/rtems-tools/
synced 2025-06-14 02:17:29 +08:00

* 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.
34 lines
1.1 KiB
Python
Executable File
34 lines
1.1 KiB
Python
Executable File
#! /usr/bin/env python
|
|
#
|
|
# $Id$
|
|
#
|
|
# RTEMS Tools Project (http://www.rtems.org/)
|
|
# Copyright 2010 Chris Johns (chrisj@rtems.org)
|
|
# All rights reserved.
|
|
#
|
|
# This file is part of the RTEMS Tools package in 'rtems-tools'.
|
|
#
|
|
# RTEMS Tools is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# RTEMS Tools is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with RTEMS Tools. If not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
import sys, os
|
|
base = os.path.dirname(sys.argv[0])
|
|
sys.path.insert(0, base + '/specbuilder')
|
|
try:
|
|
import crossgcc
|
|
crossgcc.run()
|
|
except ImportError:
|
|
print >> sys.stderr, "Incorrect SpecBulder installation"
|
|
sys.exit(1)
|