Cross-Compiled Linux From Scratch - Embedded
Version GIT-0.0.1-20110514-x86
Copyright
© 2005–2011 Joe Ciccone, Jim Gifford, Maarten Lankhorst, & Ryan Oliver
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 ${CLFS}/cross-tools Directory
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
Build Variables
Linux-Headers-2.6.38.2
GMP-5.0.1
MPFR-3.0.0
MPC-0.9
Cross Binutils-2.21
Cross GCC-4.6.0 - Static
uClibc-0.9.31
GCC-4.6.0 - Cross Compiler Final
IV. Building the CLFS System
7. Installing Basic System Software
Introduction
Package Management
ToolChain Variables
Busybox-1.18.4
Iana-Etc-2.30
8. System Build
Introduction
9. Making the CLFS System Bootable
Introduction
Creating the /etc/fstab File
Linux-2.6.38.2
10. Setting Up System Bootscripts
Introduction
CLFS-Bootscripts-1.0-pre5
Configure mdev
Creating /etc/profile
Creating /etc/inittab
Setting Hostname
Customizing the /etc/hosts File
Configuring the network Script
11. Bootloaders
Introduction
V. Beyond CLFS Embedded
12. Beyond Introduction
Introduction
13. Additional Libraries
Introduction
Beyond CLFS Additional Library Packages
Zlib-1.2.5
14. Networking Software
Introduction
Beyond CLFS Networking Packages
Beyond CLFS Networking Patches
Dropbear-0.52
IPTables-1.4.2
libnl-git-gdc273a12d
hostapd-git-gcfaab58007
Wireless Tools-29
15. File System Tools
Introduction
Beyond CLFS File System Packages
E2fsprogs-1.41.14
VI. Cleanup and Boot
16. Backup and Cleanup
Remove Unnecessary Files
Changing the Ownership of the CLFS System
Copy to Target
17. The End
The End
Get Counted
Booting the System
What Now?
VII. Appendices
A. Acronyms and Terms
B. Acknowledgments
C. Dependencies
D. x86 Dependencies
E. Open Publication License
Index