mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-27 21:30:34 +00:00
45d14c81ef
- Do some basic checks to verify that we're really in a checkout directory before cleaning it. - Fix the architecture environment variable in RosBE-Unix. - Consider the ROS_AUTOMAKE and ROS_CDOUTPUT variables when cleaning. The default makefile is always "makefile-ARCH.auto" now, also for i386. Will be changed in the tree as well once we all update to 1.5. - Leave out RosBE-Unix' version number for GCC's --with-pkgversion parameter as this could be misleading for future updates. - Many code simplifications svn path=/trunk/tools/RosBE/; revision=1164
24 lines
661 B
Bash
Executable File
24 lines
661 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Change the current target build tools to an architecture to build for
|
|
# Part of RosBE for Unix-based Operating Systems
|
|
# Copyright 2009-2010 Colin Finck <colin@reactos.org>
|
|
#
|
|
# Released under GNU GPL v2 or any later version.
|
|
|
|
if [ "$1" = "" ]; then
|
|
echo "charch: Changes the architecture to build for."
|
|
echo "The appropriate build tools for this architecture need to be installed by a"
|
|
echo "RosBE-Unix package."
|
|
echo
|
|
echo "Syntax: charch <architecture>"
|
|
return 0
|
|
fi
|
|
|
|
# Change the architecture
|
|
source "$_ROSBE_ROSSCRIPTDIR/rosbelibrary.sh"
|
|
change_architecture $1
|
|
|
|
# Display tool versions
|
|
source "$_ROSBE_ROSSCRIPTDIR/$ROS_ARCH/version.sh"
|