source: mainline/tools/build@ 9371c30

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 9371c30 was 9371c30, checked in by Ondrej Palkovsky <ondrap@…>, 20 years ago

Completely reworked configuration system.

  • Property mode set to 100755
File size: 455 bytes
Line 
1#! /bin/sh
2
3function syntax {
4 echo "Syntax:"
5 echo " build "
6 echo
7}
8
9ARGS=""
10while [ "$#" -gt 0 ]; do
11 case "$1" in
12 *)
13 syntax
14 exit 1
15 ;;
16 esac
17 shift
18done
19
20TAG="`svnversion . 2> /dev/null`"
21TIMESTAMP="`date "+%Y-%m-%d %H:%M:%S" 2> /dev/null`"
22if [ -z "$TAG" ] || [ "$TAG" == "exported" ]; then
23 TAG="Built on $TIMESTAMP for $ARCH"
24else
25 TAG="Revision $TAG (built on $TIMESTAMP for $ARCH)"
26fi
27
28tools/config.py default
29make all "TAG=$TAG" $ARGS
Note: See TracBrowser for help on using the repository browser.