Changeset 1931

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

Added proprietary ATI video driver (untested).

Location:
trunk
Files:
11 added
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/Makefile

    r1930 r1931  
    115115        mkdir -p $(MP) $(MPBASE)$(SRC) $(MPBASE)$(WD)/bin $(MPBASE)/iso/boot 
    116116        mount -o loop root.ext2 $(MP) 
    117         -rm -f $(MP)/boot 
    118117        mkdir -p $(MKTREE) $(MP)$(SRC) $(MP)$(WD) 
    119118        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 
    125126        -ln -nsf $(MPBASE)$(WD) / 
    126127        -ln -nsf $(MPBASE)$(SRC) / 
     
    273274        ch-vbetool ch-bin86 ch-grub ch-lilo ch-syslinux \ 
    274275        ch-binutils64 ch-gcc64 ch-linux64 ch-scsi-firmware ch-net-firmware \ 
    275         ch-initramfs 
    276         # Proprietary drivers disabled - NVIDIA crashes, ATI is too fat 
    277         # make ch-gcc33 ch-proprietary-drivers 
     276        ch-initramfs ch-gcc33 
    278277        make update-caches 
    279278 
     
    438437        -umount $(MP)/sys 
    439438        -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) 
    446         -ln -s /dev/shm/.cdrom/boot $(MP) 
     445        -rmdir $(MP)/boot $(MP)$(LFSSRC) $(MP)/drivers 
    447446        -umount $(MP) 
    448447 
  • trunk/packages/initramfs/init.in

    r1927 r1931  
    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 
    159160        fi 
    160161        if [ "$nodhcp" = "1" ] ; then 
  • trunk/packages/linux/Makefile

    r1924 r1931  
    1111PATCH3= tulip-is-not-a-proper-driver-for-dm910x.patch 
    1212 
     13FILE1= ati-driver-installer-8.38.6-x86.x86_64.run 
     14URL-$(FILE1)= http://www2.ati.com/drivers/linux/$(FILE1) 
     15SHA-$(FILE1)= a4320c6d3c6716740971c18bbd5e62b0b452cc67 
     16 
    1317# Targets 
    1418 
     
    1923        'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)' 
    2024 
    21 stage2: Makefile $(FILE) 
     25stage2: Makefile $(FILE) $(FILE1) 
    2226        $(std_build) 
    2327 
     
    3034        make modules_install 
    3135        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 
    3240        cd .. ; ./debian-style-headers.sh $(DIR) 
    3341 
    3442clean: 
    3543        -rm -rf $(DIR) 
     44        -rm fakes-for-fglrx/uname 
    3645 
    3746.PHONY: clean chroot compile-stage2 
  • trunk/packages/linux64/Makefile

    r1924 r1931  
    1111PATCH3= tulip-is-not-a-proper-driver-for-dm910x.patch 
    1212 
     13FILE1= ati-driver-installer-8.38.6-x86.x86_64.run 
     14URL-$(FILE1)= http://www2.ati.com/drivers/linux/$(FILE1) 
     15SHA-$(FILE1)= a4320c6d3c6716740971c18bbd5e62b0b452cc67 
     16 
    1317# Targets 
    1418 
     
    1923        'cd $(ROOT) && make ch-$(NM)64 $(chbash-post-bash)' 
    2024 
    21 stage2: Makefile $(FILE) 
     25stage2: Makefile $(FILE) $(FILE1) 
    2226        $(std_build) 
    2327 
     
    2832        PATH=$$PATH:$(WD)/bin make ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu- 
    2933        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 
    3038        rm /lib/modules/*-64bit/{source,build} 
    3139        cp -v arch/x86_64/boot/bzImage /boot/isolinux/linux64