Cross-Compiled Linux From Scratch - Embedded
Version SVN-0.0.1-20061204-x86
Jim
Gifford
Ryan
Oliver
Maarten
Lankhorst
Copyright
© 2005–2006 Jim Gifford,Ryan Oliver & Maarten Lankhorst
Table of Contents
Preface
Foreword
Audience
Prerequisites
Host System Requirements
Typography
Structure
Errata
I. Introduction
1. Introduction
Cross-LFS Acknowledgements
How to Build a CLFS System
Master Changelog
Changelog for x86
Resources
Help
II. Preparing for the Build
2. Preparing a New Partition
Introduction
Creating a New Partition
Creating a File System on the Partition
Mounting the New Partition
3. Packages and Patches
Introduction
All Packages
Additional Packages for x86
Needed Patches
Additional Patches for x86
4. Final Preparations
About $CLFS
Adding the CLFS User
Setting Up the Environment
Creating Directories
Creating the passwd, group, and log Files
5. System Prep
Introduction
III. Make the Cross-Compile Tools
6. Constructing Cross-Compile Tools
Introduction
Build CFLAGS
ABI Variables
Build Variables
Linux-Headers-2.6.19-12042006
Cross Binutils-2.17
uClibc-snapshot Headers
Cross GCC-4.1.1 - Static
ToolChain Variables
uClibc-snapshot
Clear ToolChain Variables
GCC-4.1.1 - Cross Compiler Final
IV. Building the CLFS System
7. Installing Basic System Software
Introduction
Package Management
ToolChain Variables
Busybox-1.2.2.1
Iana-Etc-2.20
Zlib-1.2.3
8. System Build
Introduction
9. Making the CLFS System Bootable
Introduction
Creating the /etc/fstab File
Linux-2.6.19
Changing the Ownership Of The CLFS System
10. Setting Up System Bootscripts
Introduction
CLFS-Bootscripts-1.0-pre3
Configure mdev
Creating /etc/profile
Creating the /etc/inputrc File
Creating /etc/inittab
Setting Hostname
Customizing the /etc/hosts File
Configuring the network Script
11. Bootloaders
Introduction
V. Beyond CLFS
12. Beyond CLFS 3.x
Introduction
Beyond CLFS Packages
Dropbear-0.48.1
IPTables-1.3.6
13. Backup and Cleanup
Remove Unecessary Files
Create Tarball of Build
14. The End
The End
Get Counted
Rebooting the System
What Now?
VI. Appendices
A. Acronyms and Terms
B. Acknowledgments
C. Dependencies
D. x86 Dependencies
E. Open Publication License
Index