last 0.3 fixes
[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="0.3"        # version of hdw-linux
11
12 export hdw_target="default"     # which target to build 
13                                 # currently:    
14                                 #       toolchain - just the toolchain (stable)
15                                 #       default - pure base (stable)
16                                 #       mobile - my mobile hackstation (stable)
17                                 #       desktop - all packages (stable)
18                                 #       router  - packages need for routers 
19                                 #                                       (stable)                                #       fai-server - packages needed for
20                                 #                    automated install of hdw
21                                 #                                       (devel)
22                                 #       all-dev - all possible packages (devel)
23                                 #       fefe    - dietlibc based target (devel)
24
25 export hdw_arch="ia32"          # which architecture to build for 
26                                 # currently:    ia32    - x86 architectures
27                                 #               sparc   - 32bit sparc
28                                 #               sparc64 - 64bit sparc
29                                 #               ppc     - powerpc's
30         
31 export hdw_arch_opt="i686"              # choose optimization
32                                 # currently:    ia32    : i[3-6]86
33                                 #               sparc64 : sparc_v9
34                                 #               sparc   : sparc_v[7-8]
35                                 #               ppc     : "" (still in dev)
36
37 export hdw_use_dietlibc="0"     # 0: use gnu c library (glibc)
38                                 # 1: use dietlibc
39
40 export hdw_opt="3"              # choose -O optimization value
41                                 #               default : 3
42
43 export hdw_crossbuild="0"       # 0: native build
44                                 # 1: crossbuild - warning: devel!
45
46 export hdw_real_build=""        # set real build arch in case hdw_crossbuild is
47                                 # set to 1 & the scripts guess wrong build arch
48                                 # (example: sparc64 with 32 bit userland)
49
50 export hdw_build_id="$hdw_target-$hdw_arch-$hdw_arch_opt-$hdw_version"  # id
51
52 export hdw_build_dir=""         # mountpoint of your partition on which you 
53                                 # want to build hdw-linux, eg: /mnt/hdw-linux
54                                 # make sure it exists and has enough space!
55
56 export hdw_make_package="0"     # 0: just install on $hdw_build_dir
57                                 # 1: also make binary tars
58
59 export hdw_abort="1"            # 0: continue building when package build fails
60                                 # 1: abort when package build fails
61
62 export hdw_debug_buildenv="1"   # 0: do not output environment variables
63                                 # 1: print env variables before build
64
65 export hdw_stage1_prefix=""     # specify the default prefix used in stage 1
66                                 # default: static (historical reason)
67
68 # end