]> git.ozlabs.org Git - next-scripts/blob - common.sh
common.sh: mpe's settings
[next-scripts] / common.sh
1 #
2 # Common setup for linux-next scripts
3 #
4
5 # Just in case this gets included twice ...
6 [ "$_next_common_included" ] && return 0
7 _next_common_included=1
8
9 bin_dir="$(dirname $0)"
10
11 LOG_FILE="../merge.log"
12 SHA1_FILE="../SHA1s"
13 CTRL_FILE="../etc/control"
14
15 build_host="alpine1.ozlabs.ibm.com"
16 build_dir="/home/michael/linux-next/tmpfs/next"
17 gcc_version="4.9.3"
18 j_factor=640
19 ssh_key_file="~/work/topics/korg/ssh/korg-mpe"
20 gpg_key="C8E1A580"
21
22 [ "$NEXT_BUILD_HOST" ] && build_host="$NEXT_BUILD_HOST"
23 [ "$NEXT_BUILD_DIR" ] && build_dir="$NEXT_BUILD_DIR"
24
25 [ -n "$1" ] && {
26         build_host="$1"
27         shift
28 }
29 [ -n "$1" ] && {
30         build_dir="$1"
31         shift
32 }
33
34 export NEXT_BUILD_HOST="$build_host"
35 export NEXT_BUILD_DIR="$build_dir"
36
37 true