some 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)
20                                 #       fai-server - packages needed for
21                                 #                    automated install of hdw
22                                 #                                       (devel)
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         
32 export hdw_arch_opt="i686"      # choose optimization
33                                 # currently:    ia32    : i[3-6]86
34                                 #               sparc64 : sparc_v9
35                                 #               sparc   : sparc_v[7-8]
36                                 #               ppc     : "" (still in dev)
37
38 export hdw_use_dietlibc="0"     # 0: use gnu c library (glibc)
39                                 # 1: use dietlibc
40
41 export hdw_opt="3"              # choose -O optimization value
42                                 #               default : 3
43
44 export hdw_crossbuild="0"       # 0: native build
45                                 # 1: crossbuild - warning: devel!
46
47 export hdw_real_build=""        # set real build arch in case hdw_crossbuild is
48                                 # set to 1 & the scripts guess wrong build arch
49                                 # (example: sparc64 with 32 bit userland)
50
51 export hdw_build_id="$hdw_target-$hdw_arch-$hdw_arch_opt-$hdw_version"  # id
52
53 export hdw_build_dir=""         # mountpoint of your partition on which you 
54                                 # want to build hdw-linux, eg: /mnt/hdw-linux
55                                 # make sure it exists and has enough space!
56
57 export hdw_make_package="0"     # 0: just install on $hdw_build_dir
58                                 # 1: also make binary tars
59
60 export hdw_abort="1"            # 0: continue building when package build fails
61                                 # 1: abort when package build fails
62
63 export hdw_debug_buildenv="1"   # 0: do not output environment variables
64                                 # 1: print env variables before build
65
66 export hdw_stage1_prefix=""     # specify the default prefix used in stage 1
67                                 # default: static (historical reason)
68
69 # end