Changeset 1934

Show
Ignore:
Timestamp:
06/26/07 10:08:36 (19 months ago)
Author:
alexander
Message:

Revert fglrx addition - on ums.usu.ru, it somehow finds that the host kernel has been built with gcc-3.3 and fails to build.

Location:
trunk
Files:
2 removed
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r1931 r1934  
    115115        mkdir -p $(MP) $(MPBASE)$(SRC) $(MPBASE)$(WD)/bin $(MPBASE)/iso/boot 
    116116        mount -o loop root.ext2 $(MP) 
     117        -rm -f $(MP)/boot 
    117118        mkdir -p $(MKTREE) $(MP)$(SRC) $(MP)$(WD) 
    118119        mkdir -p $(MP)/boot $(MP)$(LFSSRC) $(MPBASE)/iso$(LFSSRC) 
    119         mkdir -p $(MP)/drivers $(MPBASE)/iso/drivers 
    120120        mount --bind $(MPBASE)$(ROOT) $(MP)$(ROOT) 
    121121        mount --bind $(MPBASE)$(WD) $(MP)$(WD) 
     
    123123        mount --bind $(MPBASE)/iso/boot $(MP)/boot 
    124124        mount --bind $(MPBASE)/iso$(LFSSRC) $(MP)$(LFSSRC) 
    125         mount --bind $(MPBASE)/iso/drivers $(MP)/drivers 
    126125        -ln -nsf $(MPBASE)$(WD) / 
    127126        -ln -nsf $(MPBASE)$(SRC) / 
     
    274273        ch-vbetool ch-bin86 ch-grub ch-lilo ch-syslinux \ 
    275274        ch-binutils64 ch-gcc64 ch-linux64 ch-scsi-firmware ch-net-firmware \ 
    276         ch-initramfs ch-gcc33 
     275        ch-initramfs 
     276        # Proprietary drivers disabled - NVIDIA crashes, ATI is too fat 
     277        # make ch-gcc33 ch-proprietary-drivers 
    277278        make update-caches 
    278279 
     
    437438        -umount $(MP)/sys 
    438439        -umount $(MP)/boot 
    439         -umount $(MP)/drivers 
    440440        -umount $(MP)$(LFSSRC) 
    441441        -umount $(MP)$(SRC) 
     
    443443        -umount $(MP)$(ROOT) 
    444444        -rmdir $(MP)$(SRC) $(MP)$(WD) $(MP)$(ROOT) 
    445         -rmdir $(MP)/boot $(MP)$(LFSSRC) $(MP)/drivers 
     445        -rmdir $(MP)/boot $(MP)$(LFSSRC) 
     446        -ln -s /dev/shm/.cdrom/boot $(MP) 
    446447        -umount $(MP) 
    447448 
  • trunk/etc/profile

    r1933 r1934  
    1616GTK_IM_MODULE=scim 
    1717 
    18 # For fglrx 
    19 LIBGL_DRIVERS_DIR=/usr/lib/dri 
    20  
    2118export PATH INPUTRC G_FILENAME_ENCODING PKG_CONFIG_PATH XML_CATALOG_FILES 
    22 export WWW_HOME NNTPSERVER TERMCMD XMODIFIERS GTK_IM_MODULE LIBGL_DRIVERS_DIR 
     19export WWW_HOME NNTPSERVER TERMCMD XMODIFIERS GTK_IM_MODULE 
    2320 
    2421source /etc/bashrc 
  • trunk/packages/initramfs/init.in

    r1931 r1934  
    157157        if [ "$cdtype" = "fullcd" ] ; then 
    158158                ln -sf /dev/shm/.cdrom/lfs-sources /.root/lfs-sources 
    159                 ln -sf /dev/shm/.cdrom/drivers /.root/drivers 
    160159        fi 
    161160        if [ "$nodhcp" = "1" ] ; then 
  • trunk/packages/linux/Makefile

    r1931 r1934  
    1111PATCH3= tulip-is-not-a-proper-driver-for-dm910x.patch 
    1212 
    13 FILE1= ati-driver-installer-8.38.6-x86.x86_64.run 
    14 URL-$(FILE1)= http://www2.ati.com/drivers/linux/$(FILE1) 
    15 SHA-$(FILE1)= a4320c6d3c6716740971c18bbd5e62b0b452cc67 
    16  
    1713# Targets 
    1814 
     
    2319        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 
    2420 
    25 stage2: Makefile $(FILE) $(FILE1) 
     21stage2: Makefile $(FILE) 
    2622        $(std_build) 
    2723 
     
    3430        make modules_install 
    3531        cp -v arch/i386/boot/bzImage /boot/isolinux/linux 
    36         sed 's/VERSION/$(VRS)/' ../fakes-for-fglrx/uname.in >../fakes-for-fglrx/uname 
    37         chmod 755 ../fakes-for-fglrx/uname 
    38         PATH=$$PWD/../fakes-for-fglrx:$$PATH sh ../$(FILE1) --buildpkg Slackware/All 
    39         mv *.tgz /drivers 
    4032        cd .. ; ./debian-style-headers.sh $(DIR) 
    4133 
    4234clean: 
    4335        -rm -rf $(DIR) 
    44         -rm fakes-for-fglrx/uname 
    4536 
    4637.PHONY: clean chroot compile-stage2 
  • trunk/packages/linux64/Makefile

    r1931 r1934  
    1111PATCH3= tulip-is-not-a-proper-driver-for-dm910x.patch 
    1212 
    13 FILE1= ati-driver-installer-8.38.6-x86.x86_64.run 
    14 URL-$(FILE1)= http://www2.ati.com/drivers/linux/$(FILE1) 
    15 SHA-$(FILE1)= a4320c6d3c6716740971c18bbd5e62b0b452cc67 
    16  
    1713# Targets 
    1814 
     
    2319        'cd $(ROOT) && make ch-$(NM)64 $(chbash-post-bash)' 
    2420 
    25 stage2: Makefile $(FILE) $(FILE1) 
     21stage2: Makefile $(FILE) 
    2622        $(std_build) 
    2723 
     
    3228        PATH=$$PATH:$(WD)/bin make ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu- 
    3329        PATH=$$PATH:$(WD)/bin make modules_install ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu- 
    34         sed 's/VERSION/$(VRS)/' ../fakes-for-fglrx/uname.in >../fakes-for-fglrx/uname 
    35         chmod 755 ../fakes-for-fglrx/uname 
    36         PATH=$$PWD/../fakes-for-fglrx:$$PATH sh ../$(FILE1) --buildpkg Slackware/Only_Module 
    37         mv *.tgz /drivers 
    3830        rm /lib/modules/*-64bit/{source,build} 
    3931        cp -v arch/x86_64/boot/bzImage /boot/isolinux/linux64