Cross-Compiled Linux From Scratch - Embedded
Version GIT-20190419-x86
Copyright
© 2005–2019 Andrew Bradford, Joe Ciccone, Jim Gifford, Maarten Lankhorst, & Ryan Oliver
Table of Contents
Preface
Foreword
Audience
Prerequisites
Typography
Structure
Open Publication License
Master Changelog
Cross-LFS Acknowledgements
Errata
I. Introduction
1. Introduction
How to Build a CLFS System
Host System Requirements
Resources
Help
II. Preparing for the Build
2. Build Directory, Packages, and Patches
Introduction
Creating Build and Sources Directories
All Packages
Needed Patches
3. Final Preparations
About $CLFS
Adding the CLFS User
Setting Up the Environment
III. Make the Cross-Compile Tools
4. Constructing Cross-Compile Tools
Introduction
Build CFLAGS
Build Variables
Create the Cross Tools Sysroot Directory
Linux-Headers-4.9.22
Binutils-2.27
GCC-6.2.0 - Static
musl-1.1.16
GCC-6.2.0 - Final
ToolChain Variables
IV. Building the CLFS System
5. Installing Basic System Software
Introduction
Creating Directories
Creating the passwd, group, and lastlog Files
libgcc-6.2.0
musl-1.1.16
BusyBox-1.24.2
iana-etc-2.30
6. Making the CLFS System Bootable
Introduction
Creating the /etc/fstab File
Linux-4.9.22
Bootloaders
7. 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
V. Beyond CLFS Embedded
8. Beyond CLFS Embedded
Introduction
Beyond CLFS Packages
Beyond CLFS Patches
Zlib-1.2.8
Netplug-1.2.9.2
Dropbear-2013.60
Wireless Tools-29
VI. Cleanup and Boot
9. Backup and Cleanup
Changing the Ownership of the CLFS System
Copy to Target
10. The End
The End
What Now?
Index