aboriginal

view config @ 1839:c8293b3ab81f

Teach chroot-splice to accept one or two arguments. (Control image now optional.)
author Rob Landley <rob@landley.net>
date Sun, 17 Jan 2016 21:18:52 -0600
parents 5ff5fea0ad7a
children
line source
1 # Setup
3 # This file is sourced, not run. It provides a place for you to persistently
4 # set configuration variables.
6 # Feel free to replace this file with your own version, or to set these
7 # environment variables on the command line. By default all the variables
8 # listed in this file are left blank.
10 # This file is used by the whitelist logic to determine which variables to
11 # pass through when sanitizing the environment. Don't delete the commented
12 # out variables or they won't be passed through if you set them in the
13 # environment.
15 #############################################################################
17 # Set this if you don't want to drop all unrecognized environment variables.
19 # export NO_SANITIZE_ENVIRONMENT=1
21 # Setting this tells build.sh to use the existing $PATH commands to build
22 # everything, which probably won't work out of the box. Cross compiling is
23 # an insanely delicate process which requires a carefully configured host
24 # environment. If we don't set up our own, you'll have to supply one.
26 # export NO_HOST_TOOLS=1
28 # Set this to a comma separated list of packages to build statically,
29 # or "none" to build all packages dynamically. Set to "all" to build all
30 # packages statically (and not install static libraries on the target).
32 # By default, busybox and the native compiler are built statically.
33 # (Using a static busybox on the target provides a 20% performance boost to
34 # autoconf under qemu, and building the native compiler static makes it much
35 # more portable to other target root filesystems.)
37 # export BUILD_STATIC=busybox,toybox,binutils,gcc-core,gcc-g++,make
39 # If this is set, build.sh will build a cross compiler statically linked
40 # against uClibc. This indicates which host that compiler should run on.
41 # Note that most x86_64 systems can run a statically linked i686 binary even
42 # if they don't have the 32-bit libraries installed, so that's a good default.
44 # export CROSS_COMPILER_HOST=i686
46 # If this is set, only build a C compiler and not C++
48 # export NO_CPLUSPLUS=1
50 # What kind of root filesystem to create: ext2, rootfs (combined initramfs),
51 # cpio (separate initramfs), or squashfs. It defaults to cpio if blank.
53 # export SYSIMAGE_TYPE=cpio
55 # Size of writeable (ext2) HDA image. Does not apply to squashfs or initramfs
57 # export SYSIMAGE_HDA_MEGS=2048
59 # Comma separated list of packages to build from stable tarballs instead
60 # of source control repositories.
62 # export IGNORE_REPOS=all
64 # Use qemu to run "hello world" built by the cross compiler. Note that this
65 # requires working qemu application emulation for your target, which
66 # is significantly more brittle than system emulation. (To unbreak qemu-arm,
67 # "echo 0 > /proc/sys/vm/mmap_min_addr" as root.) You probably don't need
68 # to do this.
70 # export CROSS_SMOKE_TEST=1
72 # If set, try downloading packages from this location first.
74 # export PREFERRED_MIRROR=http://landley.net/aboriginal/mirror
76 # Debugging option to leave source in build/temp-$ARCH after build.
78 # export NO_CLEANUP=1
80 # Don't create tarballs at the end of each stage.
82 # export NO_STAGE_TARBALLS=1
84 # Tell the linux kernel, uClibc, and busybox to show the actual build commands
85 # instead of pretty-print output.
87 # export BUILD_VERBOSE=1
89 # Don't update the title bar in the display
91 # export NO_TITLE_BAR=1
93 # Create a tarball with the files installed by each individual package at
94 # each stage of the build.
96 # export BINARY_PACKAGE_TARBALLS=1
98 # Set this if you want debug symbols in your binaries.
100 # export SKIP_STRIP=1
102 # Set this to tell download.sh to extract all the tarballs up-front right
103 # after downloading them. (Otherwise the tarball is extracted by setupfor
104 # the first time the build tries to use it.)
105 #
106 # Extracting tarballs early is useful in order to run multiple build.sh
107 # instances in parallel when building multiple targets, or to test that
108 # new patches added to the sources/patches directory apply cleanly.
110 # export EXTRACT_ALL=1
112 # If you build strange things (such as gcc 3.4 with binutils 2.14), you
113 # may need extra host binaries added to build/host. This lets you add them.
114 # In general, you don't want to do this.
116 # export HOST_EXTRA="lex yacc"
118 # Build with busybox defconfig instead of toybox.
120 # export BUSYBOX=1
122 # Set this to continue despite failed patches.
124 # export ALLOW_PATCH_FAILURE=1
126 # Build more things in parallel.
128 # export FORK=1
130 # Force a specific number of CPUs instead of autodetecting.
132 # export CPUS=1
134 # If set, list of packages to build with CPUS=1. (Faster than setting CPUS=1
135 # for the whole build if you know ahead of time which package is going to
136 # break.) Non-parallel builds give a more intelligent log output.
138 # export DEBUG_PACKAGE=bash,busybox
140 # This isn't actually one of our variables, but a number of packages listen
141 # to this to add extra debug info to their binaries. (Use with SKIP_STRIP)
143 # export CFLAGS="-g -pipe"
145 # The following paths supplement the build with additional site-specific data.
146 # Each path is either absolute or relative to the aboriginal topdir.
148 # If you have patches you want patch files outside the aboriginal
149 # patch directory to be applied, supply the path here. Paths to the
150 # patches are built using the pattern ${MY_PATCH_DIR}/${PACKAGE}/*.patch
151 # so one or more patches to apply to linux could be in the
152 # ${EXTERNAL_PATCH_DIR}/linux directory and will be applied in sorted
153 # order (after the builtin sources/patches/${PACKAGE}-*.patch files).
155 # export MY_PATCH_DIR=/path/to/external/patches
157 # If this is set, it's points to a directory containing additional files to
158 # copy into the root-filesystem. (This overwrites existing conflicting files.)
160 # export MY_ROOT_OVERLAY="overlay"
162 # If you don't want to build cross compilers, supply path to existing one.
163 # Setting these tells build.sh not to build host or native compilers
164 # (the native compiler is very sensitive to libgcc build version skew).
166 # export MY_CROSS_PATH=/path/to/cross-compiler/bin
167 # export MY_CROSS_PREFIX=thingy-