Commit graph

163 commits

Author SHA1 Message Date
Manuel Canales Esparcia
898f47a966 Added echo_finished function. 2005-10-09 10:20:10 +00:00
Manuel Canales Esparcia
83f64dcbba Removed 132-kernel from the Makefile.
Fixed the copy of the krnel config file.
2005-10-09 08:46:38 +00:00
Manuel Canales Esparcia
2b73842751 Fixed command typo. 2005-10-08 19:57:07 +00:00
Manuel Canales Esparcia
cf7f294f41 If a package build fails, their sources aren't removed to can review config.cache, config.log, and like.
Added chapters 7, 8 and 9 (but not tested yet.)
2005-10-08 19:48:42 +00:00
Manuel Canales Esparcia
ee09e34a12 Don't remove envars in clean-chapter5. 2005-10-08 17:31:27 +00:00
Manuel Canales Esparcia
b51d2ec7cf Fixed 057-kernfs run. 2005-10-08 16:13:32 +00:00
Manuel Canales Esparcia
eaa021a187 Fixed an issue when ./is added to the umpacked filenames, like in kbd-1.12.tar.bz2 2005-10-08 15:34:32 +00:00
Jeremy Huntwork
af47a19d2c Fixed a couple of typos and added a comment to the directory argument 2005-10-07 23:01:40 +00:00
Manuel Canales Esparcia
01e51a1d9b Added switch to skip toolchain test suites if desired.
That switch will disable also the build of TCL, Expect and DejaGNU.
2005-10-07 19:13:20 +00:00
Manuel Canales Esparcia
a41ce586b1 Setting the PAGE envar needed build Groff.
Added --page_size switch to can change the PAGE value.
2005-10-06 21:09:53 +00:00
Manuel Canales Esparcia
0a9117e6f0 Fixed missing glibc-linuxthreads package and udev-config-3.rules file. 2005-10-06 18:03:52 +00:00
Manuel Canales Esparcia
78713250a8 Hidding 057-kernfs commands. 2005-10-05 17:34:45 +00:00
Manuel Canales Esparcia
dc4415336d Making the scripts executables at generation time, instead of as part of a target. 2005-10-05 17:26:35 +00:00
Jeremy Huntwork
2e51f442cd Reverted the cd into PKGDIR, already covered by envars. Fixed spurious '\' in Makefile. 2005-10-05 01:14:48 +00:00
Jeremy Huntwork
4aa0c1c858 Insert an absolute path 2005-10-05 01:01:06 +00:00
Jeremy Huntwork
a7d20b82ad Need to cd into the unpacked source directories in chapter6 2005-10-05 00:58:01 +00:00
Jeremy Huntwork
ad5f7f7775 In the chroot section, we really have no use for the LFS variable any longer. We only need it to be able to chroot, and that is covered by the Make variable, $(LFS) 2005-10-05 00:48:28 +00:00
Jeremy Huntwork
002f8a77bc Just have the chroot variables use the $(LFS) make variable, instead of trying to get the shell to use it 2005-10-05 00:35:13 +00:00
Jeremy Huntwork
16c67edebd Include chapter6 in the build and remove any chroot commands from the dependency list. 2005-10-05 00:13:29 +00:00
Manuel Canales Esparcia
80c00fc139 Fixed the set of LFS envar for CHROOT1 command. Reduced Makefile verbosity for Chapter06 targets. 2005-10-04 19:12:07 +00:00
Manuel Canales Esparcia
3f990d1251 Improved code readability.
Many thanks to George Boudreau.
2005-10-04 18:37:09 +00:00
Manuel Canales Esparcia
a6d9007020 Fixed the generation of the chroot commands in the Makefile. 2005-10-03 22:32:10 +00:00
Manuel Canales Esparcia
4c62c61a0a LOGDIR envar isn't needed in the Makefile.
All packages are unpacked, and the sources directories deleted, outside chroot.
Added echo_message to Chapter06 targets.
Fixed the 067-readjusting target creation.
Added -x tu the du command to skipp kernel filesystems (I think).
Sourced envars from inside the chroot command.
2005-10-03 22:00:09 +00:00
Manuel Canales Esparcia
7d983151bc Removed some"; \" left after the previous "if" test removal. 2005-10-03 19:52:47 +00:00
Manuel Canales Esparcia
7bbd436739 Fixed the retainig of Binutils and TCL sources directories.
Removed some now uneeded "if" test.
2005-10-03 18:28:57 +00:00
Jeremy Huntwork
d7fd19506d No need to export variables as we're only using one Makefile 2005-10-03 03:33:19 +00:00
Jeremy Huntwork
8bb92e71d0 Add a header to the generated Makefile 2005-10-03 03:24:16 +00:00
Jeremy Huntwork
19364871b0 Fixed issue with kernfs section trying to chroot 2005-10-03 02:48:26 +00:00
Jeremy Huntwork
c08d23b564 First attempt at getting past the chroot hump 2005-10-03 02:40:33 +00:00
Jeremy Huntwork
0fc4c75515 Adjusted the use of '&&' and '@' for several commands in the Makefile. Added some nicer status messages. Also, no need to check if a package was built. If it fails, make will exit, we'll see where it failed via the status messages and we can check the logs for more details. 2005-10-03 00:56:55 +00:00
Jeremy Huntwork
968dafd746 Fixed all occurences of 'touch $@' to be the last in a target 2005-10-02 23:26:02 +00:00
Jeremy Huntwork
732d1f1694 Fixed a few more misspellings and moved the 'touch ' command to be the last inserted into a target. 2005-10-02 23:21:16 +00:00
Jeremy Huntwork
4e4a8d5c7f Fixed a few typos 2005-10-02 22:39:48 +00:00
Manuel Canales Esparcia
7ecd166d84 Simplified logs path.
Addressed 057-kernfs.
2005-10-02 18:03:13 +00:00
Manuel Canales Esparcia
e3e1db00e4 Reduced in part Makefile verbosity. 2005-10-02 16:34:41 +00:00
Manuel Canales Esparcia
133ecacacf More chapter06 work 2005-10-02 15:56:40 +00:00
Manuel Canales Esparcia
56dd1e2ed2 Using PKGDIR in all chapters. 2005-10-02 14:28:31 +00:00
Manuel Canales Esparcia
24530379e6 Added support for local book's sources. 2005-10-02 14:06:01 +00:00
Manuel Canales Esparcia
6299c11068 Fixed few errors.
Added a mensage after a succefull full build.
2005-10-02 12:27:21 +00:00
Manuel Canales Esparcia
97a3ffc864 Started the addition of Chapter06 2005-10-02 12:05:57 +00:00
Manuel Canales Esparcia
e909d9d5b1 Added Makefile dependencies trakking. 2005-10-02 10:28:59 +00:00
Manuel Canales Esparcia
3cfe87111b Renamed the stylesheet to diferentiate it from the ones in the {B,H,Cross}LFS books. 2005-10-02 09:26:10 +00:00
Manuel Canales Esparcia
d31093993a Making the packages dowload and testsuites run optional.
Added a switch to desactivate the automatic run of make.
Fixed some oustanding bugs and chapter05 issues.
2005-10-02 09:14:02 +00:00
Manuel Canales Esparcia
71642ef6ea Trying to manage the retaining of Binutils pass1 and TCL sources, the run of the Adjusting phase, and the set of TCLPATH envar for Expect issues. 2005-10-01 12:21:30 +00:00
Manuel Canales Esparcia
88dcce5b39 Reverted Makefiles dependencies. They don't do what I supossed.
Added a first try of  time and disk usage logging.
Moved the make run to their own function.
2005-09-30 20:47:34 +00:00
Manuel Canales Esparcia
8b33a10d93 Actually added the make run. 2005-09-30 18:59:04 +00:00
Manuel Canales Esparcia
0209bb7aa2 Added Makefile dependencies.
Fixed the clean targets.
Remove sources directories even if the build fails (not full tested yet).
Automatically execute make after Makefile creation.
2005-09-30 18:51:32 +00:00
Manuel Canales Esparcia
a5e49c6fba Added logging capabilities. 2005-09-29 22:05:00 +00:00
Manuel Canales Esparcia
07f47df141 Added switch to skipp packages dowload. 2005-09-29 19:14:06 +00:00
Manuel Canales Esparcia
44f88e31e9 Be sure that a clean environmentis used for lfs user in chapter05. 2005-09-29 18:50:18 +00:00
Manuel Canales Esparcia
db9cec66f1 Added support to run the optional testsuites. 2005-09-28 19:30:31 +00:00
Manuel Canales Esparcia
0bad6baa0e Finished the handling of chapter04 and almost done chapter05.
At least now the generated Makefile can be used  to build the temporally tools.
2005-09-27 22:33:06 +00:00
Manuel Canales Esparcia
dc2fee8036 Removed now uneeded code. 2005-09-27 18:13:19 +00:00
Manuel Canales Esparcia
63b2859f59 Starting the move of some features to the XSL code.
First try to manage chapter05.
2005-09-26 22:36:40 +00:00
Manuel Canales Esparcia
409488e63e Removed extra uneeded lines. 2005-09-26 18:11:48 +00:00
Manuel Canales Esparcia
557fe91345 Indentation clean-up.
Removed vervosity in xsltproc run.
Added dump-commands.xsl.
2005-09-25 16:56:00 +00:00
Manuel Canales Esparcia
fbb6b78eca Fixed a typo in my name. 2005-09-12 18:23:41 +00:00
Jeremy Huntwork
9e406b5e3f Fixed some tagging, added a new sed to use 'cat' properly in the Makefile 2005-09-12 02:53:48 +00:00
Jeremy Huntwork
48d7968b10 Make LFS a variable make understands and add a switch to allow user to specify 2005-09-12 02:04:26 +00:00
Jeremy Huntwork
e2caf6fa3b Fixed an issue with spurious appearances of '&& \' in the produced Makefile 2005-09-12 01:25:17 +00:00
Jeremy Huntwork
f8de15651e Added a function to build a Makefile out of the extracted commands 2005-09-12 01:01:10 +00:00
Jeremy Huntwork
4dafc45fe4 Added a 'jhalfs' directory in the BUILDDIR to keep jhalfs stuff all together 2005-09-11 21:33:50 +00:00
Jeremy Huntwork
1236262180 Added jhalfs script 2005-09-11 21:03:26 +00:00