adaptions: new all-stable target
[hdw-linux/hdw-linux.git] / Config
1 # hdw-linux Config file
2 #
3 # this file contains build options
4
5 # author:       hackbard
6 #
7
8 # start
9
10 export hdw_version="1.0"        # version of hdw-linux
11
12 export hdw_target="default"     # which target to build 
13                                 # current (hopefully) stable targets:
14                                 #       toolchain - just the toolchain
15                                 #       default - pure base
16                                 #       desktop - a lot of packages
17                                 #       mobile - my mobile hackstation
18                                 #       router  - packages need for routers 
19                                 #       all-stable - all stable packages
20                                 #       fai-server - packages for host acting
21                                 #                    as a fai server
22                                 # current devel targets:
23                                 #       all-dev - all possible packages (devel)
24                                 #       fefe    - dietlibc based target (devel)
25
26 export hdw_arch="ia32"          # which architecture to build for 
27                                 # currently:    ia32    - x86 architectures
28                                 #               sparc   - 32bit sparc
29                                 #               sparc64 - 64bit sparc
30                                 #               ppc     - powerpc's
31                                 #               ppc64   - 64 bit powerpc's
32                                 #               mips    - mips architctures
33         
34 export hdw_arch_opt=""          # choose optimization
35                                 # currently:    ia32    : i386, i586, i686 ...
36                                 #               sparc64 : v9, ultrasparc ...
37                                 #               sparc   : v7, v8, supersparc ...
38                                 #               ppc     : 603e, 604, 740 ...
39                                 #               ppc64   : power5, powerpc64 ...
40                                 #               mips    : r2k, r3k, r4k ... 
41
42 export hdw_use_dietlibc="0"     # 0: use gnu c library
43                                 # 1: use dietlibc (devel)
44
45 export hdw_opt="3"              # choose -O optimization value
46                                 #               default : 3
47
48 export hdw_crossbuild="0"       # 0: native build
49                                 # 1: crossbuild
50
51 export hdw_real_build=""        # set real build arch
52                                 # uname output may not match available compiler
53
54 export hdw_build_id="$hdw_target-$hdw_arch-$hdw_arch_opt-$hdw_version"  # id
55
56 export hdw_build_dir=""         # mountpoint of your partition on which you 
57                                 # want to build hdw-linux, eg: /mnt/hdw-linux
58                                 # make sure it exists and has enough space!
59
60 export hdw_make_package="0"     # 0: just install on $hdw_build_dir
61                                 # 1: also make binary tars
62
63 export hdw_abort="1"            # 0: continue building when package build fails
64                                 # 1: abort when package build fails
65
66 export hdw_debug_buildenv="1"   # 0: do not output environment variables
67                                 # 1: print env variables before build
68
69 export hdw_stage1_prefix=""     # specify the default prefix used in stage 1
70                                 # default: static (historical reason)
71
72 # end