source: scripts/scripts/plfs-configs/plfs-config-arm-softfloat@ e2fb98d

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e2fb98d was e2fb98d, checked in by Jim Gifford <clfs@…>, 19 years ago

r1051@server (orig r1049): ryan | 2006-01-12 00:58:39 -0800

r1085@rei: ryan | 2006-01-12 19:51:52 +1100
Update plfs-config sample files to reflect new options


  • Property mode set to 100644
File size: 3.8 KB
Line 
1#!/bin/sh
2
3# plfs-config
4
5# Cross-LFS Build Options
6#-----------------------------------------------
7#
8# Last Modified
9# By : $LastChangedBy$
10# Date : $LastChangedDate$
11# Rev No : $LastChangedRevision$
12#
13
14#-----------------------------
15# Build configuration options
16#-----------------------------
17
18# Set LFS to suit your tree.
19# (ie the mountpoint where your final partition resides)
20export LFS=/mnt/lfs-arm-softfloat
21
22# Set to where you will install the tools
23# that are to run on the host.
24# This will include the cross compiler
25export HST_TOOLS=/home/lfs
26
27# Set this to the location where the target tools
28# are to be installed
29export TGT_TOOLS=/tgt-tools
30
31# Set SRC for your sourcedir, TARBALLS for where you store
32# your tarballs
33
34export SRC=/home/lfs/src/arm-softloat
35export TARBALLS=/mnt/tarballs
36export PATCHES=/home/lfs/cross-lfs/patches
37export SCRIPTS=/home/lfs/cross-lfs/scripts
38export CONFIGS=/home/lfs/cross-lfs/configs
39
40# Logging
41# Set for base of logging tree
42export LOGS=/home/lfs/logs/arm-softfloat
43
44export CONFLOGS=${LOGS}/conflogs
45export BUILDLOGS=${LOGS}/buildlogs
46export INSTLOGS=${LOGS}/instlogs
47export TESTLOGS=${LOGS}/testlogs
48
49# Set your timezone and locale
50export TZ="Australia/Melbourne"
51export LC_ALL="en_AU"
52
53# Set your umask
54umask 0022
55
56#---------------
57# Cross Options
58#---------------
59
60# set to the target architecture
61export TGT_ARCH=arm
62export TGT_CFLAGS="-mcpu=arm7tdmi -msoft-float"
63# Set to the target architectures target-triple
64export TARGET=armv4l-softfloat-linux-gnu
65
66# set to the target-triple for the host we are building on
67# TODO: This should be set by uname
68export HOST=x86_64-pc-linux-gnu
69# This most of the time will be the same as ${HOST}
70export BUILD=${HOST}
71
72# Set the following to yes if your target has no
73# floating point unit (arm-softfloat)
74export WITHOUT_FPU=Y
75
76# define to the default arch to place into */lib
77# This is NOT necessarily the compilers default.
78# Valid values are 31 (s390), 32 and 64
79export LIBDIRENV=32
80
81# define to what you want to be the default environment for
82# this system.
83export DEFAULTENV=32
84
85#---------------
86# Build Options
87#---------------
88
89# PARALLEL MAKE FLAGS
90#---------------------
91# Set to the desired level of parallelism.
92# eg PMFLAGS="-j 4"
93# If undesired, just set to an empty string.
94#
95export PMFLAGS="-j 3"
96
97# KERNEL HEADERS
98#----------------
99# Set to "Y" to use sanitised headers for building userspace
100# against. Expects linux-libc-headers
101export USE_SANITISED_HEADERS=Y
102
103# SYSROOT OPTIONS
104#----------------
105# Set to Y to do a sysrooted build.
106# Sysroot will be ${LFS}
107export USE_SYSROOT=Y
108
109# GCC
110#-----
111# Change the following to Y if you would like
112# to build gcc without bootstrap for ch5 and 6
113# shared builds ( save a few cycles :-) )
114export NOBOOTSTRAP=N
115
116# Change the following to Y if you would like
117# to build the final gcc with version specific runtime libs.
118export USE_VER_SPEC_RT_LIBS=Y
119
120# Change the following to Y if you would like
121# to build the final gcc with a program suffix
122export USE_PROGRAM_SUFFIX=Y
123
124# Change the following to Y if you want to use the
125# Native Posix Thread Library instead of linuxthreads.
126export USE_NPTL=N
127
128# Are we building a multi-arch toolchain
129export MULTIARCH=N
130
131# Dont build shared libgcc prior to main glibc build
132export NO_GCC_EH=Y
133
134# MISC
135#------
136# enable to build readline (and build bash against readline) for
137# target-native build
138export USE_READLINE=Y
139
140# enable to use hotplug
141export USE_HOTPLUG=Y
142
143# BOOTLOADERS
144#-------------
145# set only one of the following to "Y"
146export USE_LILO=N
147
148# DEVICES
149#---------
150# Choose method for handling devices.
151#
152# Build will default to using MAKEDEV if nothing is selected here.
153#
154# Set either UDEV to Y for utilising udev (2.5/2.6 kernels only)
155# or DEVFS to Y for using devfs (2.4 kernels, deprecated 2.5 and 2.6)
156#
157export UDEV=Y
158export DEVFS=N
159
Note: See TracBrowser for help on using the repository browser.