Changeset 1816

Show
Ignore:
Timestamp:
02/24/07 06:09:35 (23 months ago)
Author:
alexander
Message:
  • Dropped support for non-x86 architectues
  • Dropped support for parallel builds
  • Upgraded LFS packages
  • Extracted the list of packages to copy to /lfs-sources from the book
Location:
trunk
Files:
1 added
16 removed
151 modified
1 copied
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r1796 r1816  
    3131# HTTPBLFS: Default http server for the BLFS packages 
    3232 
    33 export LFS-ARCH ?= x86 
    3433export MPBASE ?= /mnt/lfs 
    3534export MP ?= $(MPBASE)/image 
     
    5352ROOTFS_MEGS := 1536 
    5453 
    55 export ARCHVARS := vars/vars.$(LFS-ARCH) 
    56  
    57 include $(ARCHVARS) 
     54export VERSION := x86-6.3-pre2 
     55export CFLAGS := -O2 -pipe -s -fno-strict-aliasing -mtune=i686 
     56export LINKER := ld-linux.so.2 
     57export LFS_TARGET := i486-pc-linux-gnu 
    5858 
    5959# Environment Variables 
     
    138138        -install -d $(MP)/media/{floppy,cdrom} 
    139139        -install -d $(MP)/usr/{bin,include,lib,sbin,share,src} 
    140         -ln -s share/{man,doc,info} $(MP)/usr 
    141140        -install -d $(MP)/usr/share/{doc,info,locale,man} 
    142141        -install -d $(MP)/usr/share/{misc,terminfo,zoneinfo} 
    143142        -install -d $(MP)/usr/share/man/man{1,2,3,4,5,6,7,8} 
    144143        -install -d $(MP)/usr/local/{bin,etc,include,lib,sbin,share,src} 
    145         -ln -s share/{man,doc,info} $(MP)/usr/local 
    146144        -install -d $(MP)/usr/local/share/{doc,info,locale,man} 
    147145        -install -d $(MP)/usr/local/share/{misc,terminfo,zoneinfo} 
     
    231229        lfs-m4-scpt lfs-make-scpt lfs-patch-scpt lfs-perl-scpt lfs-sed-scpt \ 
    232230        lfs-tar-scpt lfs-texinfo-scpt lfs-util-linux-scpt lfs-wget-scpt \ 
    233         lfs-cdrtools-scpt lfs-zlib-scpt lfs-zisofs-tools-scpt 
     231        lfs-cdrtools-scpt lfs-zlib-scpt lfs-zisofs-tools-scpt lfs-grub-scpt 
    234232        @cp /etc/resolv.conf $(WD)/etc 
    235233        @touch $@ 
     
    248246        final-environment 
    249247 
    250 blfs: ch-openssl ch-wget ch-reiserfsprogs ch-xfsprogs ch-nano ch-joe \ 
     248blfs:   ch-openssl ch-wget ch-reiserfsprogs ch-xfsprogs ch-nano ch-joe \ 
    251249        ch-screen ch-pkgconfig ch-libidn ch-libgpg-error ch-libgcrypt \ 
    252250        ch-gnutls ch-curl ch-zip ch-unzip ch-lynx ch-libxml2 ch-expat \ 
    253251        ch-subversion ch-lfs-bootscripts ch-livecd-bootscripts ch-docbook-xml ch-libxslt \ 
    254         ch-docbook-xsl ch-html_tidy ch-LFS-BOOK ch-libpng \ 
     252        ch-docbook-xsl ch-html_tidy ch-LFS-BOOK ch-libpng stop-here \ 
    255253        ch-freetype ch-fontconfig \ 
    256254        ch-Xorg-base ch-Xorg-util ch-Xorg-proto ch-Xorg-lib ch-libdrm ch-Mesa \ 
     
    277275        ch-libchewing ch-scim-chewing ch-scim-pinyin ch-scim-input-pad \ 
    278276        ch-hibernate-script ch-parted ch-slang ch-mc \ 
    279         ch-fuse ch-dosfstools ch-ntfsprogs 
    280 ifeq ($(LFS-ARCH),x86) 
    281         make ch-vbetool ch-bin86 ch-grub ch-lilo ch-syslinux 
     277        ch-fuse ch-dosfstools ch-ntfsprogs \ 
     278        ch-vbetool ch-bin86 ch-grub ch-lilo ch-syslinux \ 
     279        ch-binutils64 ch-gcc64 ch-linux64 
    282280        # Proprietary drivers disabled - NVIDIA crashes, ATI is too fat 
    283281        # make ch-gcc33 ch-proprietary-drivers 
    284         make ch-binutils64 ch-gcc64 ch-linux64 
    285 endif 
    286 ifeq ($(LFS-ARCH),ppc) 
    287         make ch-yaboot ch-hfsutils ch-mac-fdisk 
    288 endif 
    289282        make update-caches 
    290283 
     
    350343 
    351344createfiles: 
    352         @-$(WD)/bin/ln -s $(WD)/bin/{bash,cat,pwd,stty} /bin 
     345        @-$(WD)/bin/ln -s $(WD)/bin/{bash,cat,grep,pwd,stty} /bin 
    353346        @-$(WD)/bin/ln -s $(WD)/bin/perl /usr/bin 
    354347        @-$(WD)/bin/ln -s $(WD)/lib/libgcc_s.so{,.1} /usr/lib 
  • trunk/README

    r892 r1816  
    8080variables to look for: 
    8181 
    82 * LFS-ARCH 
    83   This variable sets the architecture of the CD you are attempting to build. 
    84 The scripts assume that you are building the CD on such a host as well. At 
    85 this time, possible values are 'x86', 'ppc' or 'sparc'. 
    86  
    8782* VERSION 
    8883  This variable will be used in various places throughout the build and 
  • trunk/doc/README

    r1778 r1816  
    5252* strace 
    5353 
    54 Boot Loaders (only those applicable to the arch of the LiveCD) 
    55 * grub, lilo, yaboot 
     54Boot Loaders 
     55* grub, lilo 
    5656 
    5757Other Programs 
  • trunk/packages/BRLTTY/Makefile

    r1769 r1816  
    2424        ./configure --prefix=/usr --sysconfdir=/etc --disable-speech-support \ 
    2525            --disable-api 
    26         make $(PM) 
     26        make 
    2727        make install 
    2828 
  • trunk/packages/LFS-BOOK/Makefile

    r1797 r1816  
    1111#SHA-$(FILE)= 729bcf04d8e4ed0af3c58daf0d289e94d6385052 
    1212 
    13 REV= 7883 
     13REV= 7937 
    1414REVPARM= -r $(REV) 
    1515 
    1616URL= svn://svn.linuxfromscratch.org/LFS/trunk/BOOK 
     17 
     18PATCH1= LFS-BOOK-SVN-XML-update-1.patch 
    1719 
    1820SEAMONKEY_CONFIG= $(ROOT)/root/.mozilla/default/79exklwh.slt/prefs.js 
     
    2931        @$(call echo_message, Building) 
    3032        @mkdir tmp 
    31         @cd tmp ; svn co $(REVPARM) $(URL) $(DIR) >$(DIR)-$@.log 2>&1 
    32         #cd tmp ; tar xf $(FILE) >>$(DIR)-$@.log 2>&1 
    33         @cd tmp/$(DIR) ; make BASEDIR=../$(HTMLDIR) >>$(DIR)-$@.log 2>&1 
    34         @cd tmp ; cp -av $(DIR) $(HTMLDIR) /usr/share >>$(DIR)-$@.log 2>&1 
    35         @sed -i \ 
     33        @make CROSSVARS=../$(CROSSVARS) -C tmp -f ../Makefile compile-$@ >$(DIR)-$@.log 2>&1 
     34        @make clean >>$(DIR)-$@.log 2>&1 
     35        @touch $@ 
     36 
     37compile-stage2: 
     38        svn co $(REVPARM) $(URL) $(DIR) 
     39        # tar xf $(FILE) 
     40        cd $(DIR) ; patch -Np1 -i ../../$(PATCH1) 
     41        cd $(DIR) ; make BASEDIR=../$(HTMLDIR) 
     42        cp -av $(DIR) $(HTMLDIR) /usr/share 
     43        cd $(SRC) ; cp -v `sed 's@^.*/\([^/]*\)$$@\1@' /usr/share/$(HTMLDIR)/wget-list` $(LFSSRC) 
     44        sed -i \ 
    3645         's@file:///.*index.html@file:///usr/share/$(HTMLDIR)/index.html@' \ 
    3746         $(SEAMONKEY_CONFIG) 
    38         @sed -i 's@WWW_HOME=\".*\"@WWW_HOME=\"/usr/share/$(HTMLDIR)/index.html\"@' \ 
     47        sed -i 's@WWW_HOME=\".*\"@WWW_HOME=\"/usr/share/$(HTMLDIR)/index.html\"@' \ 
    3948         $(ROOT)/etc/profile 
    40         @make clean >>$(DIR)-$@.log 2>&1 
    41         @touch $@ 
    4249 
    4350clean: 
  • trunk/packages/LVM2/Makefile

    r1810 r1816  
    2222compile-stage2: 
    2323        ./configure --prefix=/usr 
    24         make $(PM) 
     24        make 
    2525        make install 
    2626 
  • trunk/packages/Mesa/Makefile

    r1735 r1816  
    2626compile-stage2: 
    2727        unpack ../$(FILE1) --strip-components=1 
    28 ifeq ($(LFS-ARCH),ppc) 
    29         make linux-dri-ppc OPT_FLAGS="$(CFLAGS)" MKDEP="gccmakedep" INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/lib/dri 
    30 else 
    31 ifeq ($(LFS-ARCH),x86) 
    3228        make linux-dri-x86 OPT_FLAGS="$(CFLAGS)" MKDEP="gccmakedep" INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/lib/dri 
    33 else 
    34         make linux-dri OPT_FLAGS="$(CFLAGS)" MKDEP="gccmakedep" INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/lib/dri 
    35 endif 
    36 endif 
    3729        make INSTALL_DIR=/usr DRI_DRIVER_INSTALL_DIR=/usr/lib/dri install 
    3830        sed -i 's@-l$$(GLUT_LIB)@@g' configs/default 
  • trunk/packages/Terminal/Makefile

    r1348 r1816  
    2222compile-stage2: 
    2323        ./configure --prefix=/usr --libexecdir=/usr/sbin 
    24         make $(PM) 
     24        make 
    2525        make install 
    2626        mkdir -p /etc/xdg/Terminal 
  • trunk/packages/XML-Parser/Makefile

    r1495 r1816  
    2222compile-stage2: 
    2323        perl Makefile.PL 
    24         make $(PM) 
     24        make 
    2525        make install 
    2626 
  • trunk/packages/anthy/Makefile

    r1732 r1816  
    2222compile-stage2: 
    2323        ./configure --prefix=/usr --sysconfdir=/etc --disable-static 
    24         make $(PM) 
     24        make 
    2525        make install 
    2626 
  • trunk/packages/atk/Makefile

    r1488 r1816  
    2222compile-stage2: 
    2323        ./configure --prefix=/usr 
    24         make $(PM) 
     24        make 
    2525        make install 
    2626 
  • trunk/packages/autoconf/Makefile

    r1763 r1816  
    1919stage2: Makefile $(FILE) 
    2020        $(std_build) 
    21         cp $(SRC)/$(FILE) $(LFSSRC) 
    2221 
    2322compile-stage2: 
    2423        ./configure --prefix=/usr 
    25         make $(PM) 
     24        make 
    2625        make install 
    2726 
  • trunk/packages/automake/Makefile

    r1763 r1816  
    1919stage2: Makefile $(FILE) $(PATCH1) 
    2020        $(std_build) 
    21         cp $(SRC)/$(FILE) $(LFSSRC) 
    2221 
    2322compile-stage2: 
    2423        ./configure --prefix=/usr 
    25         make $(PM) 
     24        make 
    2625        make install 
    2726 
  • trunk/packages/bash/Makefile

    r1762 r1816  
    99SHA-$(FILE)= fe6466c7ee98061e044dae0347ca5d1a8eab4a0d 
    1010 
    11 PATCH1= $(DIR)-fixes-1.patch 
    12 URL-$(PATCH1)= $(HTTP)/$(NM)/$(PATCH1) 
    13 SHA-$(PATCH1)= f2e145c311c52e264b3341cd6757c0ea67996fa8 
     11PATCH1= $(DIR)-fixes-2.patch 
     12URL-$(PATCH1)= http://www.linuxfromscratch.org/patches/lfs/development/$(PATCH1) 
     13SHA-$(PATCH1)= 49bd15ad3579e69b841741408fd2bb3c63119376 
    1414 
    1515FILE1 = $(NM)-doc-$(VRS).tar.gz 
     
    2323stage1: $(FILE) $(PATCH1) 
    2424        $(std_build) 
    25         cp $(SRC)/{$(FILE),$(PATCH1)} $(LFSSRC) 
    2625 
    2726compile-stage1: 
     
    3837stage2: Makefile $(FILE) $(PATCH1) $(FILE1) 
    3938        $(std_build) 
    40         cp $(SRC)/$(FILE1) $(LFSSRC)/ 
    4139 
    4240compile-stage2: 
     
    4745        ./configure --prefix=/usr --bindir=/bin --without-bash-malloc \ 
    4846         --with-installed-readline 
    49         make $(PM) 
     47        make 
    5048        make install 
    5149 
  • trunk/packages/bin86/Makefile

    r1475 r1816  
    1818 
    1919stage2: Makefile $(FILE) 
    20 ifneq ($(LFS-ARCH),ppc) 
    2120        $(std_build) 
    22 endif 
    2321 
    2422compile-stage2: 
  • trunk/packages/binutils/Makefile

    r1762 r1816  
    1212include $(ROOT)/scripts/functions 
    1313 
    14 LINKER ?= ld-linux.so.2 
    1514export LFS_USE_TARGET := yes 
    1615 
    1716pass1: $(FILE) 
    1817        $(sep_dir_build) 
    19         cp $(SRC)/$(FILE) $(LFSSRC) 
    2018