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