[e58c70fd] | 1 | $Id$
|
---|
| 2 |
|
---|
| 3 | 1. INTRODUCTION::
|
---|
| 4 |
|
---|
[86e1d17] | 5 | This collection of scripts, known as jhalfs-X, strives to create
|
---|
[fcf5226] | 6 | accurate makefiles from the Linux From Scratch book series XML files.
|
---|
[67e3bc3] | 7 | This software is a evolution of the original "jhalfs" code.
|
---|
[e58c70fd] | 8 |
|
---|
| 9 | The usage of this script assumes you have read and are familiar with
|
---|
[8ca21dc] | 10 | the book(s) and therefore the configuration variables found in config files
|
---|
[86e1d17] | 11 | will have meaning to you. There are a number of command line switches
|
---|
[e58c70fd] | 12 | which, if used, will override the config file settings.
|
---|
| 13 |
|
---|
| 14 | NOTES::
|
---|
| 15 | *. The resulting Makefile takes considerable time to run to completion,
|
---|
| 16 | lay in a supply of caffeine beverages.
|
---|
| 17 |
|
---|
[67e3bc3] | 18 | *. It is recommended that you temporarily unpack your linux kernel,
|
---|
[b051b90] | 19 | run <make menuconfig>, configure the kernal as per the book and save
|
---|
[86e1d17] | 20 | the resulting .config file. This configuration rule also applies to the
|
---|
| 21 | configuration of the uClibc package when building a HLFS system using
|
---|
| 22 | uClibc rather than glibc.
|
---|
[e58c70fd] | 23 |
|
---|
| 24 | 2. INSTALLATION::
|
---|
[1a97861] | 25 | No installation is required. System-wide installation is not allowed
|
---|
[86e1d17] | 26 | for now.
|
---|
[e58c70fd] | 27 |
|
---|
| 28 | 3. CONFIGURATION FILES::
|
---|
[8ca21dc] | 29 | Each book in the LFS series has it's own set of configurable parameters
|
---|
| 30 | as well as the common parameters file.
|
---|
[e58c70fd] | 31 |
|
---|
| 32 | 4. RUNNING::
|
---|
[67e3bc3] | 33 | The script, master.sh, cannot be invoked directly but only via the
|
---|
[b051b90] | 34 | supplied symlinks. After editing the config file for the project you wish
|
---|
| 35 | to build run the script.
|
---|
[67e3bc3] | 36 | <symlink> refers to the one of 4 package symlinks, lfs,hlfs,clfs,blfs.
|
---|
[fcf5226] | 37 | Replace <symlink> with your choice.. i.e. ./lfs
|
---|
| 38 |
|
---|
| 39 | ./<symlink>
|
---|
[67e3bc3] | 40 | Create a makefile based on the settings found in the config files.
|
---|
[b051b90] | 41 | You must enter the build partition/jhalfs directory and manually run make
|
---|
[fcf5226] | 42 |
|
---|
[67e3bc3] | 43 | ./<symlink> -G
|
---|
[fcf5226] | 44 | Download the packages and patches necessary to build <symlink>
|
---|
[67e3bc3] | 45 |
|
---|
[fcf5226] | 46 | ./<symlink> -G -M
|
---|
| 47 | Download the packages, create and automatically run the Makefile
|
---|
[67e3bc3] | 48 |
|
---|
[8ca21dc] | 49 | ./<symlink> --help will give you a context sensitive list of command
|
---|
| 50 | line switches.
|
---|
[e58c70fd] | 51 |
|
---|
| 52 | 5. LAYOUT::
|
---|
| 53 |
|
---|
[7b56cfc] | 54 | blfs --+ /BLFS config ---+ /common/config
|
---|
| 55 | | master.sh -+ /common_functions
|
---|
| 56 | | xxxx.xsl -+ /makefile_functions
|
---|
| 57 | | /func_check_versions.sh
|
---|
| 58 | clfs --+ /CLFS config ---+ /func_validate_configs.sh
|
---|
[86e1d17] | 59 | | master.sh -+
|
---|
[7b56cfc] | 60 | | xxxx.xsl -+
|
---|
[86e1d17] | 61 | |
|
---|
| 62 | +--------------------- master.sh --------------->>>
|
---|
[7b56cfc] | 63 | +--README
|
---|
[86e1d17] | 64 | |
|
---|
[7b56cfc] | 65 | hlfs --+ /HLFS config ---+
|
---|
| 66 | | master.sh -+
|
---|
| 67 | | xxxx.xsl -+
|
---|
| 68 | |
|
---|
| 69 | lfs --+ /LFS config ---+
|
---|
| 70 | master.sh -+
|
---|
| 71 | xxxx.xsl -+
|
---|
[86e1d17] | 72 |
|
---|
| 73 |
|
---|
[e58c70fd] | 74 | 6. FAQ::
|
---|
[7b56cfc] | 75 | Q. "It doesn't work"
|
---|
| 76 | A. Yes it does..
|
---|
| 77 |
|
---|
[fcf5226] | 78 |
|
---|
| 79 | Authors:
|
---|
[67e3bc3] | 80 | George Boudreau
|
---|
[fcf5226] | 81 | Manuel Canales Esparcia
|
---|
[67e3bc3] | 82 | Jeremy Huntwork
|
---|