Cross-Compiled Linux From Scratch - Embedded
Version GIT-0.0.1-20130617-x86
Copyright
© 2005–2013 Andrew Bradford, 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. Creating a Build Directory
Creating a Build Directory
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
III. Make the Cross-Compile Tools
5. Constructing Cross-Compile Tools
Introduction
Build CFLAGS
Build Variables
Linux-Headers-3.0.80
GMP-5.1.2
MPFR-3.1.2
MPC-1.0.1
Cross Binutils-2.23.2
Cross GCC-4.7.3 - Static
uClibc-0.9.33.2
GCC-4.7.3 - Cross Compiler Final
IV. Building the CLFS System
6. Installing Basic System Software
Introduction
Package Management
ToolChain Variables
Busybox-1.21.0
Iana-Etc-2.30
7. Making the CLFS System Bootable
Introduction
Creating the /etc/fstab File
Linux-3.0.80
8. Setting Up System Bootscripts
Introduction
CLFS-Bootscripts-git master HEAD
Configure mdev
Creating /etc/profile
Creating /etc/inittab
Setting Hostname
Customizing the /etc/hosts File
Configuring the network Script
9. Bootloaders
Introduction
V. Beyond CLFS Embedded
10. Beyond Introduction
Introduction
11. Additional Libraries
Introduction
Beyond CLFS Additional Library Packages
Zlib-1.2.8
12. Networking Software
Introduction
Beyond CLFS Networking Packages
Beyond CLFS Networking Patches
Dropbear-2013.58
IPTables-1.4.19.1
libnl-3.2.22
hostapd-2.0
Wireless Tools-29
13. File System Tools
Introduction
Beyond CLFS File System Packages
E2fsprogs-1.42.7
VI. Cleanup and Boot
14. Backup and Cleanup
Remove Unnecessary Files
Changing the Ownership of the CLFS System
Copy to Target
15. The End
The End
Booting the System
What Now?
VII. Appendices
A. Acronyms and Terms
B. Dependencies
C. x86 Dependencies
D. Open Publication License
Index