From: hackbard Date: Mon, 2 Oct 2006 21:48:50 +0000 (+0000) Subject: reorganized Config file X-Git-Url: https://hackdaworld.org/gitweb/?p=hdw-linux%2Fhdw-linux.git;a=commitdiff_plain;h=4dfe4bc90c6670e31d52449b3294467e879eda28;hp=e8784dab56e3d98e598d36006ecdafb76874d723 reorganized Config file --- diff --git a/Config b/Config index 874ebaa..6f73b55 100644 --- a/Config +++ b/Config @@ -2,71 +2,134 @@ # # this file contains build options # -# author: hackbard -# - -# start - -export hdw_version="1.0" # version of hdw-linux - -export hdw_target="default" # which target to build - # current (hopefully) stable targets: - # toolchain - just the toolchain - # default - pure base - # desktop - a lot of packages - # mobile - my mobile hackstation - # router - packages need for routers - # all-stable - all stable packages - # fai-server - packages for host acting - # as a fai server - # current devel targets: - # all-dev - all possible packages (devel) - # fefe - dietlibc based target (devel) - -export hdw_arch="ia32" # which architecture to build for - # currently: ia32 - x86 architectures - # sparc - 32bit sparc - # sparc64 - 64bit sparc - # ppc - powerpc's - # ppc64 - 64 bit powerpc's - # mips - mips architctures - -export hdw_arch_opt="" # choose optimization - # currently: ia32 : i386, i586, i686 ... - # sparc64 : v9, ultrasparc ... - # sparc : v7, v8, supersparc ... - # ppc : 603e, 604, 740 ... - # ppc64 : power5, powerpc64 ... - # mips : r2k, r3k, r4k ... - -export hdw_use_dietlibc="0" # 0: use gnu c library - # 1: use dietlibc (devel) - -export hdw_opt="3" # choose -O optimization value - # default : 3 - -export hdw_crossbuild="0" # 0: native build - # 1: crossbuild - -export hdw_real_build="" # set real build arch - # uname output may not match available compiler - -export hdw_build_id="$hdw_target-$hdw_arch-$hdw_arch_opt-$hdw_version" # id - -export hdw_build_dir="" # mountpoint of your partition on which you - # want to build hdw-linux, eg: /mnt/hdw-linux - # make sure it exists and has enough space! - -export hdw_make_package="0" # 0: just install on $hdw_build_dir - # 1: also make binary tars - -export hdw_abort="1" # 0: continue building when package build fails - # 1: abort when package build fails - -export hdw_debug_buildenv="1" # 0: do not output environment variables - # 1: print env variables before build - -export hdw_stage1_prefix="" # specify the default prefix used in stage 1 - # default: static (historical reason) + +### hdw-linux user definable build options ### + +# hdw build dir +# choose the hdw-linux build directory +# +# ! make sure it exists and there is enough free space available ! +# +export hdw_build_dir="" + +# hdw make package +# create binary packages during build procedure +# +# possible values: +# 0 : just install in hdw build dir +# 1 : create binary tar packages in addition +# +export hdw_make_package="0" + +# hdw target +# choose a target (collection of packages) +# +# stable targets: +# toolchain - the toolchain (binutils, gcc, libc) +# default - pure base (including compiler) +# desktop - all packages suited for a desktop environment +# mobile - desktop + notebook specific packages +# router - packages suited for routers +# all-stable - all hdw packages that build properly +# fai-server - all packages to run a fai (see docs) server +# +# develeopment targets: +# all-dev - all existing hdw packages +# fefe - dietlibc based target (this needs major hacking) +# +export hdw_target="all-stable" + +# hdw arch +# choose your target architecture +# +# supported architectures: +# ia32 - the famous x86 architecture +# sparc - 32 bit scalable processor architecture +# sparc64 - 64 bit scalable processor architecture +# ppc - apple, ibm and motorola 32 bit powerpc arch +# ppc64 - apple, ibm and motorola 64 bit powerpc arch +# mips - uprocessor without interlocked pipeline stages +# +export hdw_arch="ia32" + +# hdw arch opt +# build for a special optimized processor +# see: http://gcc.gnu.org/onlinedocs - hardware models and configurations +# +# examples: +# for ia32 : i386, i586, i686 +# for sparc : v7, v8, supersparc +# for sparc64 : v9, ultrasparc +# for ppc : 603e, 604, 740 +# for ppc64 : power5, powerpc64 +# for mips : r2000, r3000, r4000 +# +export hdw_arch_opt="" + +# hdw opt +# choose the applied optimization level (default: 3) +# +export hdw_opt="3" + +# hdw abort +# continue/abort the distribution build when a package build fails +# +# possible values: +# 0 : continue +# 1 : abort +# +export hdw_abort="1" + +# hdw tc name +# specify the name for the toolchain (will appear as a symlink in / ) +# +# default: toolchain +# +export hdw_tc_name="" + +### more advanced hdw build options ### + +# hdw crossbuild +# choose between native or crossbuild +# +# possible values: +# 0 : native build +# 1 : crossbuild +# +export hdw_crossbuild="0" + +# hdw use dietlibc +# choose whether to use the gnu c library or fefe's dietlibc (devel!) +# +# possible values: +# 0 : use gnu c library +# 1 : use dietlibc (warning: devel!) +# +export hdw_use_dietlibc="0" + +# hdw real build +# set the real build architecture of your host +# +# explanation: uname output may not match available compilers +# +export hdw_real_build="" + +# hdw debug buildenv +# print environment variables directly before the build starts +# +# possible values: +# 0 : do not output environment variables +# 1 : print envirenment variables +# +export hdw_debug_buildenv="1" + +### hdw build specific variables ( do not edit) ### + +# hdw version +export hdw_version="1.0" + +# hdw build id +export hdw_build_id="$hdw_target-$hdw_arch-$hdw_arch_opt" +export hdw_build_id="hdw-linux-$hdw_version-$hdw_build_id" # end