Subversion Repositories HelenOS

Compare Revisions

No changes between revisions

Ignore whitespace Rev 3386 → Rev 3264

/branches/network/tools/fix_symlinks.sh
File deleted
/branches/network/tools/mkhord.py
File deleted
Property changes:
Deleted: svn:executable
-*
\ No newline at end of property
/branches/network/tools/mktmpfs.py
File deleted
Property changes:
Deleted: svn:executable
-*
\ No newline at end of property
/branches/network/tools/xstruct.py
File deleted
/branches/network/tools/mkfat.py
File deleted
Property changes:
Deleted: svn:executable
-*
\ No newline at end of property
/branches/network/tools/mkfat.sh
File deleted
Property changes:
Deleted: svn:executable
-*
\ No newline at end of property
/branches/network/tools/config.py
1,31 → 1,4
#!/usr/bin/env python
#
# Copyright (c) 2006 Ondrej Palkovsky
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# - Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# - Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# - The name of the author may not be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
"""
HelenOS configuration script
"""
/branches/network/tools/cygwin_symlink_patch.sh
0,0 → 1,29
# by Alf
# This script solves malfunction of symlinks in cygwin
#
# Download sources from repository and than run this script to correct symlinks
# to be able compile project
 
 
if uname | grep 'CYGWIN' > /dev/null; then
echo "Good ... you have cygwin"
else
echo "Wrong. This script is only for cygwin"
exit
fi
for linkName in `find . ! -iwholename '.*svn*' ! -type d -print`; do
if head -n 1 $linkName | grep '^link' > /dev/null; then
linkTarget=`head -n 1 $linkName | sed 's/^link //'`
echo $linkName " -->" $linkTarget
rm $linkName
ln -s "$linkTarget" "$linkName"
fi
done
 
 
 
 
 
/branches/network/tools/build
0,0 → 1,29
#! /bin/bash
 
BASE="$HOME/HelenOS.export"
TARGETS="amd64 ia32 ia64 mips32gbe mips32gle ppc32 ppc64 sparc64"
OUTPUT="$HOME/arch"
 
for TARGET in $TARGETS ; do
if [ "$TARGET" == "mips32gbe" ]; then
UTARGET="mips32eb"
elif [ "$TARGET" == "mips32gle" ]; then
UTARGET="mips32"
else
UTARGET="$TARGET"
fi
rm -fr "$OUTPUT/$TARGET"
mkdir -p "$OUTPUT/$TARGET/include"
cd "$BASE"
make distclean
make "PLATFORM=$TARGET" "COMPILER=gcc_cross" "CONFIG_DEBUG=n"
cp -v "$BASE/uspace/libc/arch/$UTARGET/src/entry.o" "$OUTPUT/$TARGET"
cp -v "$BASE/uspace/libc/arch/$UTARGET/_link.ld" "$OUTPUT/$TARGET"
cp -v "$BASE/uspace/libc/libc.a" "$OUTPUT/$TARGET"
cp -v "$BASE/uspace/softint/libsoftint.a" "$OUTPUT/$TARGET"
cp -v "$BASE/uspace/softfloat/libsoftfloat.a" "$OUTPUT/$TARGET"
cp -v -R -L "$BASE/uspace/libc/include" "$OUTPUT/$TARGET"
done
Property changes:
Added: svn:executable
+*
\ No newline at end of property