aboutsummaryrefslogtreecommitdiffstats
path: root/env.sh
blob: 273da6ce8085278d1b4332f4827df5df0c575159 (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
# Begin book environment settings
export PS1='\u:\w\$ '
set +h
umask 022

export LFS=/mnt/lfs
export LC_ALL=POSIX
export LFS_TGT=$(uname -m)-lfs-linux-gnu
PATH=/usr/bin
if [ ! -L /bin ]; then PATH=/bin:${PATH}; fi
export PATH=${LFS}/tools/bin:${PATH}
export CONFIG_SITE=${LFS}/usr/share/config.site
# End book environment settings

# LFS Version being built
export LFS_VER=LFS_10_1

# Disk where LFS partition will exist / or exists
export LFS_DISK=/dev/sdb

# Partition number where LFS will exist / or exists
export LFS_PART=1

# LFS User password (not used at this time)
export LFS_PWD=lfs

# Get number of online processors
export NUMPROCS=$(getconf _NPROCESSORS_ONLN)
numjobs=$(expr ${NUMPROCS} \* 2 - 1)

# Make flags for multiple jobs
export MAKEFLAGS="-j ${numjobs}"