blob: bb0834f9bbe5fd4825021c5294d5ad93eb18a400 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# configuration
# target architecture
TARGET_ARCH=i486-unknown-linux-gnu
# target cpu
TARGET_CPU=i486
# where to build the cross compiler
CROSS_HOME=/home/cross
# where is/are the cross compiler(s) installed
XTOOLS_HOME=$CROSS_HOME/x-tools
# where is the cross compiler of our target architecture installed
XTOOLS_ARCH=$XTOOLS_HOME/$TARGET_ARCH
# the chroot of stage 1
STAGE1_CHROOT=$CROSS_HOME/$TARGET_CPU-root
# the place where we build stage 1
STAGE1_BUILD=$CROSS_HOME/$TARGET_CPU-build
# git repository for PKGBUILD diffs and patches for the
# i686 architecture
GIT_URL_ARCHLINUX32_PACKAGES=https://github.com/archlinux32/packages.git
# the packages32 directory (where GIT_URL_ARCHLINUX32_PACKAGES is checked out)
ARCHLINUX32_PACKAGES=$CROSS_HOME/packages32
# uncomment to debug scripts
#set -x
# some default variables, not to be changed
SCRIPT=$(sudo realpath -s "$0")
SCRIPT_DIR=$(dirname "$SCRIPT")
|